Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0016/0.0016, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002072/0.002072, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.384/3.384, allocations: 0.5107 GB / 0.8166 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002124/0.002124, allocations: 67.98 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01919/0.4122, allocations: 13.3 MB / 1.378 GB, free: 256 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4285, allocations: 9.147 MB / 1.387 GB, free: 7.078 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.4301, allocations: 87.19 kB / 1.387 GB, free: 6.992 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004975/0.4351, allocations: 1.663 MB / 1.388 GB, free: 5.324 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.4404, allocations: 1.583 MB / 1.39 GB, free: 3.738 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4426, allocations: 0.7595 MB / 1.391 GB, free: 2.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.4465, allocations: 2.521 MB / 1.393 GB, free: 460 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.4485, allocations: 1.176 MB / 1.394 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.4507, allocations: 1.211 MB / 1.395 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.4527, allocations: 1.058 MB / 1.396 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.453, allocations: 160 kB / 1.397 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.4547, allocations: 0.7212 MB / 1.397 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007029/0.4554, allocations: 0.6308 MB / 1.398 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4564, allocations: 0.762 MB / 1.399 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.4601, allocations: 2.759 MB / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4601, allocations: 0 / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4601, allocations: 0 / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.744e-05/0.4602, allocations: 0 / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004408/0.4646, allocations: 2.104 MB / 1.403 GB, free: 5.766 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.4646, allocations: 8.031 kB / 1.403 GB, free: 5.758 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.4764, allocations: 2.102 MB / 1.405 GB, free: 3.652 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4796, allocations: 1.169 MB / 1.407 GB, free: 2.434 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-05/0.4797, allocations: 90.73 kB / 1.407 GB, free: 2.344 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.48, allocations: 128.1 kB / 1.407 GB, free: 2.219 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/0.4866, allocations: 2.901 MB / 1.41 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.4866, allocations: 7.953 kB / 1.41 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.4868, allocations: 51.98 kB / 1.41 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006852/0.4874, allocations: 178.1 kB / 1.41 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008267/0.4957, allocations: 2.799 MB / 1.413 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.5126, allocations: 8.11 MB / 1.42 GB, free: 3.805 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00735/0.5199, allocations: 2.219 MB / 1.423 GB, free: 1.578 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/0.5234, allocations: 1.21 MB / 1.424 GB, free: 376 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.5236, allocations: 20.98 kB / 1.424 GB, free: 352 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.5236, allocations: 43.5 kB / 1.424 GB, free: 300 kB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.5236, allocations: 0 / 1.424 GB, free: 300 kB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.04959/0.5732, allocations: 12.64 MB / 1.436 GB, free: 3.609 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.5733, allocations: 68.72 kB / 1.436 GB, free: 3.531 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.5749, allocations: 0.9795 MB / 1.437 GB, free: 2.539 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.5752, allocations: 49.7 kB / 1.437 GB, free: 2.484 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/0.5759, allocations: 0.7316 MB / 1.438 GB, free: 1.746 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/0.5765, allocations: 475.9 kB / 1.438 GB, free: 1.277 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/0.5772, allocations: 263.5 kB / 1.439 GB, free: 1.012 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.5774, allocations: 361.9 kB / 1.439 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.5812, allocations: 1.339 MB / 1.44 GB, free: 15.31 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.5852, allocations: 1.6 MB / 1.442 GB, free: 13.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007823/0.5931, allocations: 2.994 MB / 1.445 GB, free: 10.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.5931, allocations: 4 kB / 1.445 GB, free: 10.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01304/0.6061, allocations: 4.385 MB / 1.449 GB, free: 6.082 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.6062, allocations: 11.94 kB / 1.449 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.6062, allocations: 4 kB / 1.449 GB, free: 6.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005595/0.6118, allocations: 1.435 MB / 1.451 GB, free: 4.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.614, allocations: 435.2 kB / 1.451 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/0.6449, allocations: 24.81 MB / 1.475 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.6476, allocations: 303.6 kB / 1.475 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.6478, allocations: 59.97 kB / 1.476 GB, free: 9.652 MB / 1.17 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.6489, allocations: 442.4 kB / 1.476 GB, free: 9.211 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/0.6494, allocations: 155.1 kB / 1.476 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.6619, allocations: 4.397 MB / 1.48 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.6619, allocations: 19.88 kB / 1.48 GB, free: 4.586 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-05/0.6619, allocations: 12 kB / 1.48 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.662, allocations: 7.969 kB / 1.48 GB, free: 4.566 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.679, allocations: 6.136 MB / 1.486 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.679, allocations: 8.344 kB / 1.486 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.681, allocations: 375.4 kB / 1.487 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00509/0.6861, allocations: 1.31 MB / 1.488 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.6863, allocations: 39.97 kB / 1.488 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/0.7153, allocations: 23.68 MB / 1.511 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7153, allocations: 11.95 kB / 1.511 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.7276, allocations: 4.147 MB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7289, allocations: 366.8 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/0.7294, allocations: 35.92 kB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/0.7317, allocations: 315.4 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004816/0.7322, allocations: 129.2 kB / 1.516 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.7324, allocations: 47.97 kB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001111/0.7335, allocations: 0.6467 MB / 1.517 GB, free: 13.76 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7335, allocations: 0 / 1.517 GB, free: 13.76 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002396/0.7359, allocations: 0.5625 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/0.7362, allocations: 147 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01228/0.7485, allocations: 4.974 MB / 1.522 GB, free: 7.902 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.7485, allocations: 0 / 1.522 GB, free: 7.902 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007672/0.7562, allocations: 3.417 MB / 1.526 GB, free: 4.312 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.7592, allocations: 0.5086 MB / 1.526 GB, free: 3.824 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7696, allocations: 4.163 MB / 1.53 GB, free: 15.6 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.7711, allocations: 0.8867 MB / 1.531 GB, free: 14.68 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007274/0.7719, allocations: 131.3 kB / 1.531 GB, free: 14.55 MB / 1.232 GB Notification: Performance of SimCode: time 9.42e-07/0.7719, allocations: 0 / 1.531 GB, free: 14.55 MB / 1.232 GB Notification: Performance of Templates: time 0.8589/1.631, allocations: 112.5 MB / 1.641 GB, free: 222 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 21.178772784769535]