Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109 kB / 16.41 MB, free: 6.027 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.001756/0.001756, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 56.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8297, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01027/0.84, allocations: 6.811 MB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0055/0.8456, allocations: 3.063 MB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.8463, allocations: 31.75 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.8491, allocations: 0.948 MB / 1.178 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.8507, allocations: 0.5206 MB / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.852, allocations: 444.8 kB / 1.179 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.8538, allocations: 1.236 MB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.8552, allocations: 0.6581 MB / 1.181 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.8564, allocations: 490.3 kB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.8577, allocations: 0.5214 MB / 1.182 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.8579, allocations: 68 kB / 1.182 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.859, allocations: 375.3 kB / 1.182 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.8594, allocations: 315.1 kB / 1.182 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.8602, allocations: 449.7 kB / 1.183 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.8622, allocations: 1.228 MB / 1.184 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8622, allocations: 0 / 1.184 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8622, allocations: 0 / 1.184 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.856e-05/0.8623, allocations: 0 / 1.184 GB, free: 2.754 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00264/0.8649, allocations: 1.157 MB / 1.185 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.865, allocations: 12.03 kB / 1.185 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.8667, allocations: 243.5 kB / 1.185 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.8679, allocations: 0.6037 MB / 1.186 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.8679, allocations: 49.67 kB / 1.186 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.8681, allocations: 72.3 kB / 1.186 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.8698, allocations: 1.089 MB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.8698, allocations: 7.938 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.8699, allocations: 31.98 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.8701, allocations: 81.27 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.8712, allocations: 0.7543 MB / 1.188 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.8769, allocations: 5.874 MB / 1.194 GB, free: 8.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.878, allocations: 0.5526 MB / 1.194 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.8784, allocations: 326.6 kB / 1.195 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.8785, allocations: 8.422 kB / 1.195 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.8785, allocations: 39 kB / 1.195 GB, free: 7.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.8785, allocations: 0 / 1.195 GB, free: 7.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003953/0.8825, allocations: 1.994 MB / 1.197 GB, free: 5.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.8826, allocations: 55.84 kB / 1.197 GB, free: 5.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.8832, allocations: 0.5587 MB / 1.197 GB, free: 4.492 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.8832, allocations: 37.7 kB / 1.197 GB, free: 4.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.8835, allocations: 414.9 kB / 1.198 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.8836, allocations: 169.6 kB / 1.198 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.8838, allocations: 130.5 kB / 1.198 GB, free: 3.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.884, allocations: 382.6 kB / 1.198 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.8844, allocations: 273.8 kB / 1.199 GB, free: 3.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.885, allocations: 489 kB / 1.199 GB, free: 2.516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.886, allocations: 0.8133 MB / 1.2 GB, free: 1.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.886, allocations: 3.938 kB / 1.2 GB, free: 1.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001832/0.8878, allocations: 1.09 MB / 1.201 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.8879, allocations: 8 kB / 1.201 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8879, allocations: 11.94 kB / 1.201 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.8888, allocations: 284 kB / 1.201 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.8893, allocations: 131.8 kB / 1.201 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.8961, allocations: 7.123 MB / 1.208 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.8968, allocations: 40.14 kB / 1.208 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.8969, allocations: 32 kB / 1.208 GB, free: 8.297 MB / 0.9356 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.8973, allocations: 259.8 kB / 1.209 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.8974, allocations: 71.16 kB / 1.209 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.899, allocations: 0.8886 MB / 1.209 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8991, allocations: 4 kB / 1.209 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8991, allocations: 4 kB / 1.209 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.8991, allocations: 3.984 kB / 1.209 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.902, allocations: 1.724 MB / 1.211 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9021, allocations: 0 / 1.211 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.9023, allocations: 67.81 kB / 1.211 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008097/0.9032, allocations: 275.3 kB / 1.211 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.9032, allocations: 8 kB / 1.212 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/0.9103, allocations: 7.119 MB / 1.218 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9103, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.912, allocations: 0.9912 MB / 1.219 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.9125, allocations: 192.3 kB / 1.22 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.9126, allocations: 12.17 kB / 1.22 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.913, allocations: 35.91 kB / 1.22 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.9132, allocations: 47.94 kB / 1.22 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.9132, allocations: 12 kB / 1.22 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004797/0.9137, allocations: 387.1 kB / 1.22 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9137, allocations: 0 / 1.22 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008955/0.9146, allocations: 224 kB / 1.22 GB, free: 11.25 MB / 0.9512 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001892/0.9148, allocations: 124.3 kB / 1.22 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.917, allocations: 1.268 MB / 1.222 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.917, allocations: 3.938 kB / 1.222 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.9183, allocations: 0.8893 MB / 1.223 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.9194, allocations: 232.1 kB / 1.223 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.9219, allocations: 1.386 MB / 1.224 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.9226, allocations: 1.016 MB / 1.225 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.9228, allocations: 43.44 kB / 1.225 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.9228, allocations: 0 / 1.225 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of Templates: time 0.02611/0.9489, allocations: 20.91 MB / 1.246 GB, free: 1.242 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches