Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001338/0.001338, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001472/0.001472, allocations: 213.9 kB / 23.04 MB, free: 4.844 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002118/0.002118, allocations: 67.62 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05083/0.4457, allocations: 36.43 MB / 1.363 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4676, allocations: 11.11 MB / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.4717, allocations: 198.6 kB / 1.374 GB, free: 1.031 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.4846, allocations: 4.387 MB / 1.378 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.4923, allocations: 2.336 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/0.4989, allocations: 2.177 MB / 1.382 GB, free: 8.109 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01342/0.5123, allocations: 9.277 MB / 1.392 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.5258, allocations: 6.323 MB / 1.398 GB, free: 8.355 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008036/0.5339, allocations: 4.133 MB / 1.402 GB, free: 4.211 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009027/0.5429, allocations: 4.458 MB / 1.406 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00291/0.5458, allocations: 0.8203 MB / 1.407 GB, free: 14.92 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.5509, allocations: 1.506 MB / 1.408 GB, free: 13.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005741/0.5567, allocations: 3.231 MB / 1.412 GB, free: 10.17 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008019/0.5647, allocations: 2.973 MB / 1.414 GB, free: 7.188 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.5834, allocations: 12.4 MB / 1.427 GB, free: 10.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.5834, allocations: 7.938 kB / 1.427 GB, free: 10.74 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5834, allocations: 0 / 1.427 GB, free: 10.74 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004153/0.5838, allocations: 7.938 kB / 1.427 GB, free: 10.73 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01978/0.6036, allocations: 6.395 MB / 1.433 GB, free: 4.273 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.6037, allocations: 12.03 kB / 1.433 GB, free: 4.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/0.6107, allocations: 1.102 MB / 1.434 GB, free: 3.156 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008887/0.6196, allocations: 3.568 MB / 1.437 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/0.6201, allocations: 427.7 kB / 1.438 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/0.6223, allocations: 0.551 MB / 1.438 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/0.6466, allocations: 10.28 MB / 1.448 GB, free: 3.719 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/0.6468, allocations: 23.77 kB / 1.448 GB, free: 3.695 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.6484, allocations: 244 kB / 1.449 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007246/0.6491, allocations: 422.9 kB / 1.449 GB, free: 3.043 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.666, allocations: 7.12 MB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04449/0.7104, allocations: 25.36 MB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.7156, allocations: 2.902 MB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.7188, allocations: 1.93 MB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7189, allocations: 22 kB / 1.485 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.346e-05/0.719, allocations: 60.56 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.589e-06/0.719, allocations: 0 / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.0258/0.7448, allocations: 10.24 MB / 1.496 GB, free: 2.746 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.7448, allocations: 73.41 kB / 1.496 GB, free: 2.66 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.7478, allocations: 1.837 MB / 1.497 GB, free: 0.793 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.7482, allocations: 65.7 kB / 1.497 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.7502, allocations: 2.489 MB / 1.5 GB, free: 14.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.7513, allocations: 0.7707 MB / 1.501 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/0.7521, allocations: 477.5 kB / 1.501 GB, free: 12.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7522, allocations: 305.1 kB / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.7544, allocations: 1.372 MB / 1.503 GB, free: 11.28 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.7572, allocations: 2.112 MB / 1.505 GB, free: 8.855 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/0.7627, allocations: 3.762 MB / 1.508 GB, free: 4.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.7627, allocations: 8 kB / 1.508 GB, free: 4.773 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009027/0.7717, allocations: 5.007 MB / 1.513 GB, free: 15.74 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.7718, allocations: 16 kB / 1.513 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/0.7718, allocations: 20 kB / 1.513 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/0.7756, allocations: 1.581 MB / 1.515 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.7775, allocations: 459.2 kB / 1.515 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/0.8026, allocations: 17.79 MB / 1.533 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.8052, allocations: 143.9 kB / 1.533 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.8055, allocations: 111.9 kB / 1.533 GB, free: 11.22 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003588/0.8091, allocations: 1.942 MB / 1.535 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.8098, allocations: 282.3 kB / 1.535 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007992/0.8178, allocations: 4.389 MB / 1.539 GB, free: 4.57 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.8178, allocations: 20 kB / 1.539 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.8178, allocations: 20 kB / 1.539 GB, free: 4.531 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.8179, allocations: 11.95 kB / 1.54 GB, free: 4.52 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.834, allocations: 8.346 MB / 1.548 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.834, allocations: 4 kB / 1.548 GB, free: 12.04 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.8351, allocations: 236.2 kB / 1.548 GB, free: 11.81 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.8386, allocations: 1.422 MB / 1.549 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.8388, allocations: 36 kB / 1.549 GB, free: 10.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/0.864, allocations: 17.79 MB / 1.567 GB, free: 8.141 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.864, allocations: 11.94 kB / 1.567 GB, free: 8.129 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008128/0.8721, allocations: 4.482 MB / 1.571 GB, free: 3.559 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.8738, allocations: 0.545 MB / 1.572 GB, free: 3.012 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/0.8743, allocations: 44 kB / 1.572 GB, free: 2.969 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.8756, allocations: 115.9 kB / 1.572 GB, free: 2.855 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005717/0.8762, allocations: 193.5 kB / 1.572 GB, free: 2.668 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8764, allocations: 63.94 kB / 1.572 GB, free: 2.605 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001857/0.8782, allocations: 1.165 MB / 1.573 GB, free: 1.426 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8782, allocations: 0 / 1.573 GB, free: 1.426 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003809/0.882, allocations: 1.137 MB / 1.574 GB, free: 296 kB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.8824, allocations: 164.4 kB / 1.574 GB, free: 124 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00828/0.8907, allocations: 4.543 MB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.8907, allocations: 4 kB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/0.8959, allocations: 2.813 MB / 1.582 GB, free: 8.664 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.9, allocations: 0.8105 MB / 1.582 GB, free: 7.867 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.9203, allocations: 10.33 MB / 1.592 GB, free: 13.43 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00537/0.9257, allocations: 3.252 MB / 1.596 GB, free: 10.14 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.9264, allocations: 163.4 kB / 1.596 GB, free: 9.98 MB / 1.295 GB Notification: Performance of SimCode: time 1.453e-06/0.9264, allocations: 0 / 1.596 GB, free: 9.98 MB / 1.295 GB Notification: Performance of Templates: time 0.9295/1.856, allocations: 173 MB / 1.765 GB, free: 119.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 24.628405113937333]