Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 190.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 64.14 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8606, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009422/0.8701, allocations: 6.092 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005532/0.8757, allocations: 3.133 MB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.8764, allocations: 27.81 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.8789, allocations: 0.8797 MB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.8803, allocations: 434 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.8816, allocations: 443.1 kB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.8831, allocations: 1.1 MB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.8842, allocations: 0.7148 MB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.885, allocations: 446.2 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.8859, allocations: 486.2 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.886, allocations: 60 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.887, allocations: 491 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.8874, allocations: 287.2 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.888, allocations: 398 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.8895, allocations: 1.199 MB / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8895, allocations: 0 / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8895, allocations: 0 / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.8895, allocations: 4 kB / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001506/0.891, allocations: 1.048 MB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.8911, allocations: 15.98 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.8926, allocations: 219.7 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.8932, allocations: 0.5337 MB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.8933, allocations: 49.67 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8934, allocations: 64.27 kB / 1.034 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.8947, allocations: 1.034 MB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.8948, allocations: 7.938 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.8948, allocations: 24 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/0.8949, allocations: 73.27 kB / 1.036 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009715/0.8959, allocations: 0.6918 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.901, allocations: 5.752 MB / 1.042 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008106/0.9018, allocations: 0.6008 MB / 1.042 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.9025, allocations: 420.6 kB / 1.043 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.9026, allocations: 7.938 kB / 1.043 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9026, allocations: 34.5 kB / 1.043 GB, free: 7.328 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.9026, allocations: 0 / 1.043 GB, free: 7.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004264/0.9069, allocations: 2.061 MB / 1.045 GB, free: 5.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.9069, allocations: 59.41 kB / 1.045 GB, free: 5.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.9074, allocations: 454.8 kB / 1.045 GB, free: 4.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.9075, allocations: 29.7 kB / 1.045 GB, free: 4.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.9078, allocations: 391 kB / 1.046 GB, free: 4.223 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.9079, allocations: 149.9 kB / 1.046 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.9081, allocations: 110.2 kB / 1.046 GB, free: 3.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9082, allocations: 362.8 kB / 1.046 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.9086, allocations: 245.2 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.9091, allocations: 461.5 kB / 1.047 GB, free: 2.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.91, allocations: 0.7595 MB / 1.048 GB, free: 1.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.91, allocations: 4 kB / 1.048 GB, free: 1.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001846/0.9118, allocations: 1.058 MB / 1.049 GB, free: 0.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.9119, allocations: 12.14 kB / 1.049 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.9119, allocations: 8 kB / 1.049 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.9129, allocations: 339.1 kB / 1.049 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.9133, allocations: 91.83 kB / 1.049 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.9205, allocations: 7.513 MB / 1.057 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.921, allocations: 32.02 kB / 1.057 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.921, allocations: 24 kB / 1.057 GB, free: 8.289 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004181/0.9215, allocations: 241.6 kB / 1.057 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.9216, allocations: 67.19 kB / 1.057 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.9233, allocations: 0.9236 MB / 1.058 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.9233, allocations: 4 kB / 1.058 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.9233, allocations: 4 kB / 1.058 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.9234, allocations: 3.984 kB / 1.058 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.926, allocations: 1.704 MB / 1.059 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.926, allocations: 4 kB / 1.059 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.9262, allocations: 39.91 kB / 1.06 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009409/0.9271, allocations: 327.2 kB / 1.06 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.9271, allocations: 8 kB / 1.06 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007092/0.9342, allocations: 7.518 MB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9343, allocations: 4 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.9359, allocations: 1.007 MB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.9362, allocations: 176.4 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.9362, allocations: 8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.9365, allocations: 19.98 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.9366, allocations: 47.88 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.9366, allocations: 12 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003065/0.937, allocations: 306.9 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.937, allocations: 3.938 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007944/0.9378, allocations: 195.9 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001719/0.9379, allocations: 115.2 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.9399, allocations: 1.257 MB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9399, allocations: 0 / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.9411, allocations: 0.8618 MB / 1.071 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.9421, allocations: 207.3 kB / 1.071 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.9442, allocations: 1.525 MB / 1.073 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.9447, allocations: 0.9921 MB / 1.074 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002754/0.945, allocations: 93.19 kB / 1.074 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.945, allocations: 39.42 kB / 1.074 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.945, allocations: 0 / 1.074 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.01651/0.9616, allocations: 10.02 MB / 1.084 GB, free: 11.76 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches