Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001466/0.001466, allocations: 190 kB / 17.2 MB, free: 5.953 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 69.17 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7676, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0408/0.8085, allocations: 33.34 MB / 1.115 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02594/0.8345, allocations: 14.81 MB / 1.13 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.8393, allocations: 156 kB / 1.13 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.85, allocations: 3.654 MB / 1.134 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.8615, allocations: 2.89 MB / 1.136 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.8692, allocations: 2.322 MB / 1.139 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01435/0.8836, allocations: 8.813 MB / 1.147 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.8988, allocations: 9.631 MB / 1.157 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00859/0.9074, allocations: 3.941 MB / 1.161 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008461/0.9159, allocations: 4.039 MB / 1.165 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002161/0.9181, allocations: 0.7148 MB / 1.165 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.9237, allocations: 1.716 MB / 1.167 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004281/0.928, allocations: 2.834 MB / 1.17 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006611/0.9347, allocations: 3.384 MB / 1.173 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.9492, allocations: 11.12 MB / 1.184 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.9492, allocations: 3.984 kB / 1.184 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9492, allocations: 0 / 1.184 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003386/0.9496, allocations: 0 / 1.184 GB, free: 7.293 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01605/0.9656, allocations: 5.979 MB / 1.19 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9657, allocations: 12.03 kB / 1.19 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007094/0.9728, allocations: 1.142 MB / 1.191 GB, free: 72 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.9805, allocations: 3.325 MB / 1.194 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003978/0.981, allocations: 378.4 kB / 1.194 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/0.9827, allocations: 500 kB / 1.195 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.002, allocations: 8.001 MB / 1.203 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/1.002, allocations: 23.78 kB / 1.203 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001406/1.004, allocations: 219.9 kB / 1.203 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/1.005, allocations: 441.5 kB / 1.203 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/1.018, allocations: 6.073 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04952/1.068, allocations: 35.16 MB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/1.071, allocations: 2.03 MB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/1.074, allocations: 1.869 MB / 1.247 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/1.075, allocations: 18 kB / 1.247 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/1.075, allocations: 56.5 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=171): time 3.306e-06/1.075, allocations: 0 / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=276): time 0.1519/1.227, allocations: 38.88 MB / 1.285 GB, free: 11.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/1.227, allocations: 81.52 kB / 1.286 GB, free: 11.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/1.231, allocations: 2.278 MB / 1.288 GB, free: 9.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003599/1.231, allocations: 73.7 kB / 1.288 GB, free: 8.992 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/1.233, allocations: 2.276 MB / 1.29 GB, free: 6.691 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.234, allocations: 0.9279 MB / 1.291 GB, free: 5.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.235, allocations: 0.51 MB / 1.291 GB, free: 5.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.235, allocations: 305.1 kB / 1.292 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/1.239, allocations: 1.973 MB / 1.294 GB, free: 2.953 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/1.242, allocations: 2.602 MB / 1.296 GB, free: 112 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007211/1.249, allocations: 4.933 MB / 1.301 GB, free: 10.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.25, allocations: 8 kB / 1.301 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01532/1.265, allocations: 7.75 MB / 1.309 GB, free: 3.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.265, allocations: 16.03 kB / 1.309 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/1.265, allocations: 16 kB / 1.309 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009335/1.274, allocations: 3.233 MB / 1.312 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.276, allocations: 403.3 kB / 1.312 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04905/1.325, allocations: 33.91 MB / 1.345 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.328, allocations: 163.8 kB / 1.345 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/1.328, allocations: 108 kB / 1.346 GB, free: 12.37 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003164/1.331, allocations: 1.797 MB / 1.347 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006521/1.332, allocations: 332.1 kB / 1.348 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.347, allocations: 7.364 MB / 1.355 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.347, allocations: 28 kB / 1.355 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-05/1.347, allocations: 31.94 kB / 1.355 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/1.347, allocations: 15.94 kB / 1.355 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.371, allocations: 12.92 MB / 1.368 GB, free: 5.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.371, allocations: 11.94 kB / 1.368 GB, free: 5.609 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009938/1.372, allocations: 232.5 kB / 1.368 GB, free: 5.383 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008194/1.38, allocations: 2.873 MB / 1.371 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.38, allocations: 52 kB / 1.371 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04559/1.426, allocations: 32.7 MB / 1.403 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.426, allocations: 7.938 kB / 1.403 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.439, allocations: 6.894 MB / 1.409 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.441, allocations: 0.7783 MB / 1.41 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.441, allocations: 48 kB / 1.41 GB, free: 8.922 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/1.443, allocations: 171.8 kB / 1.41 GB, free: 8.754 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007967/1.444, allocations: 253.5 kB / 1.411 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.444, allocations: 76 kB / 1.411 GB, free: 8.434 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002294/1.446, allocations: 1.521 MB / 1.412 GB, free: 6.91 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.446, allocations: 0 / 1.412 GB, free: 6.91 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003948/1.45, allocations: 1.371 MB / 1.413 GB, free: 5.539 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003719/1.451, allocations: 183.5 kB / 1.414 GB, free: 5.352 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.466, allocations: 8.377 MB / 1.422 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.466, allocations: 7.938 kB / 1.422 GB, free: 12.87 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.008025/1.474, allocations: 4.413 MB / 1.426 GB, free: 8.379 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004646/1.478, allocations: 1.11 MB / 1.427 GB, free: 7.305 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.497, allocations: 10.89 MB / 1.438 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004698/1.502, allocations: 3.76 MB / 1.441 GB, free: 8.516 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/1.503, allocations: 167.4 kB / 1.442 GB, free: 8.355 MB / 1.17 GB Notification: Performance of SimCode: time 7.72e-07/1.503, allocations: 0 / 1.442 GB, free: 8.355 MB / 1.17 GB Notification: Performance of Templates: time 0.6813/2.184, allocations: 227.3 MB / 1.664 GB, free: 327.6 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches