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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 109.1 kB / 18.99 MB, free: 2.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 217.2 kB / 22.3 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256.1 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.479/3.479, allocations: 0.5107 GB / 0.8159 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 60.81 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3451, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04188/0.387, allocations: 31.71 MB / 1.395 GB, free: 13.72 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.4133, allocations: 14.46 MB / 1.409 GB, free: 15.22 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.4166, allocations: 210.4 kB / 1.409 GB, free: 15.01 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.4272, allocations: 3.673 MB / 1.413 GB, free: 11.33 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0087/0.4359, allocations: 2.979 MB / 1.416 GB, free: 8.336 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006452/0.4423, allocations: 2.338 MB / 1.418 GB, free: 5.996 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4544, allocations: 8.811 MB / 1.427 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009651/0.4641, allocations: 5.48 MB / 1.432 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007536/0.4716, allocations: 4.219 MB / 1.436 GB, free: 3.324 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007192/0.4788, allocations: 3.936 MB / 1.44 GB, free: 15.38 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.4809, allocations: 0.7148 MB / 1.441 GB, free: 14.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.4853, allocations: 1.615 MB / 1.442 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004164/0.4895, allocations: 2.891 MB / 1.445 GB, free: 10.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005906/0.4954, allocations: 2.743 MB / 1.448 GB, free: 7.391 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.5104, allocations: 11.26 MB / 1.459 GB, free: 12.1 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5104, allocations: 4 kB / 1.459 GB, free: 12.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5104, allocations: 0 / 1.459 GB, free: 12.09 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003511/0.5108, allocations: 0 / 1.459 GB, free: 12.09 MB / 1.154 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.01707/0.5278, allocations: 6.033 MB / 1.465 GB, free: 5.996 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5279, allocations: 12.03 kB / 1.465 GB, free: 5.984 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.5358, allocations: 1.18 MB / 1.466 GB, free: 4.801 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008504/0.5443, allocations: 3.446 MB / 1.469 GB, free: 1.266 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.5447, allocations: 374.4 kB / 1.47 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.5464, allocations: 0.4883 MB / 1.47 GB, free: 420 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.5653, allocations: 8.705 MB / 1.479 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/0.5656, allocations: 19.83 kB / 1.479 GB, free: 7.246 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.5669, allocations: 216 kB / 1.479 GB, free: 7.035 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.5683, allocations: 441.5 kB / 1.479 GB, free: 6.602 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.5819, allocations: 6.069 MB / 1.485 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04065/0.6225, allocations: 21.23 MB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.626, allocations: 1.913 MB / 1.508 GB, free: 8.887 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/0.6289, allocations: 1.744 MB / 1.509 GB, free: 7.145 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.6291, allocations: 18 kB / 1.509 GB, free: 7.125 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.6291, allocations: 52.56 kB / 1.509 GB, free: 7.066 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 4.028e-06/0.6291, allocations: 0 / 1.509 GB, free: 7.066 MB / 1.201 GB Notification: Performance of matching and sorting (n=276): time 0.1606/0.7898, allocations: 38.67 MB / 1.547 GB, free: 352 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.7898, allocations: 81.58 kB / 1.547 GB, free: 256 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.7937, allocations: 2.039 MB / 1.549 GB, free: 14.19 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004807/0.7942, allocations: 77.7 kB / 1.549 GB, free: 14.11 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.7962, allocations: 2.351 MB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.7975, allocations: 0.9838 MB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.7989, allocations: 0.5063 MB / 1.553 GB, free: 10.23 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.799, allocations: 301.1 kB / 1.553 GB, free: 9.93 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.8024, allocations: 1.981 MB / 1.555 GB, free: 7.945 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/0.8064, allocations: 2.599 MB / 1.558 GB, free: 5.102 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00813/0.8145, allocations: 4.929 MB / 1.563 GB, free: 15.9 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/0.8145, allocations: 8 kB / 1.563 GB, free: 15.89 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0183/0.8328, allocations: 7.627 MB / 1.57 GB, free: 8.195 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.8329, allocations: 12 kB / 1.57 GB, free: 8.184 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/0.8329, allocations: 24.12 kB / 1.57 GB, free: 8.16 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.8436, allocations: 3.205 MB / 1.573 GB, free: 4.938 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.8455, allocations: 407.3 kB / 1.574 GB, free: 4.539 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05229/0.8978, allocations: 32.56 MB / 1.606 GB, free: 3.348 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/0.9007, allocations: 163.8 kB / 1.606 GB, free: 3.188 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/0.9012, allocations: 112 kB / 1.606 GB, free: 3.078 MB / 1.295 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.003497/0.9047, allocations: 1.802 MB / 1.608 GB, free: 1.266 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008464/0.9055, allocations: 314.1 kB / 1.608 GB, free: 0.957 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7303/1.636, allocations: 7.223 MB / 1.615 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/1.636, allocations: 27.27 kB / 1.615 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/1.636, allocations: 35.72 kB / 1.615 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/1.636, allocations: 13.41 kB / 1.615 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/1.659, allocations: 11.4 MB / 1.626 GB, free: 219.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.659, allocations: 6.031 kB / 1.626 GB, free: 219.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.66, allocations: 235.1 kB / 1.626 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008327/1.669, allocations: 2.844 MB / 1.629 GB, free: 219 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004574/1.669, allocations: 52.81 kB / 1.629 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03871/1.708, allocations: 31.34 MB / 1.66 GB, free: 201.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.708, allocations: 4.531 kB / 1.66 GB, free: 201.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.719, allocations: 6.757 MB / 1.666 GB, free: 198.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.72, allocations: 0.6978 MB / 1.667 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.721, allocations: 51.25 kB / 1.667 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.722, allocations: 167.6 kB / 1.667 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008734/1.723, allocations: 272.9 kB / 1.668 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.723, allocations: 82.17 kB / 1.668 GB, free: 198.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001577/1.725, allocations: 1.325 MB / 1.669 GB, free: 197.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.4e-07/1.725, allocations: 0 / 1.669 GB, free: 197.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003891/1.729, allocations: 1.364 MB / 1.67 GB, free: 197.5 MB / 1.295 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.0003383/1.729, allocations: 177.2 kB / 1.67 GB, free: 197.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009194/1.738, allocations: 6.571 MB / 1.677 GB, free: 193.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.738, allocations: 4 kB / 1.677 GB, free: 193.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00659/1.745, allocations: 4.257 MB / 1.681 GB, free: 188.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.75, allocations: 1.011 MB / 1.682 GB, free: 188 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.768, allocations: 10.36 MB / 1.692 GB, free: 177.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004324/1.772, allocations: 3.111 MB / 1.695 GB, free: 174.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002037/1.774, allocations: 0.526 MB / 1.696 GB, free: 173.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/1.775, allocations: 148.5 kB / 1.696 GB, free: 173.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.223e-06/1.775, allocations: 0 / 1.696 GB, free: 173.8 MB / 1.295 GB Notification: Performance of Templates: time 0.09658/1.872, allocations: 75.64 MB / 1.77 GB, free: 99.48 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.951913516968489]