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.001771/0.001771, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002188/0.002188, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002054/0.002054, allocations: 69.34 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0474/0.381, allocations: 36.43 MB / 1.363 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4007, allocations: 11.12 MB / 1.374 GB, free: 1.332 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.4038, allocations: 202.6 kB / 1.374 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.4159, allocations: 4.383 MB / 1.378 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00681/0.4227, allocations: 2.332 MB / 1.38 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006404/0.4291, allocations: 2.176 MB / 1.382 GB, free: 8.223 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4414, allocations: 9.273 MB / 1.391 GB, free: 14.92 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.4531, allocations: 6.397 MB / 1.398 GB, free: 8.398 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007117/0.4602, allocations: 4.129 MB / 1.402 GB, free: 4.258 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008172/0.4684, allocations: 4.755 MB / 1.406 GB, free: 15.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.4705, allocations: 0.8242 MB / 1.407 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.4744, allocations: 1.502 MB / 1.409 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004144/0.4786, allocations: 3.242 MB / 1.412 GB, free: 9.91 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005857/0.4844, allocations: 2.961 MB / 1.415 GB, free: 6.938 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.5003, allocations: 12.4 MB / 1.427 GB, free: 10.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5003, allocations: 4 kB / 1.427 GB, free: 10.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5003, allocations: 0 / 1.427 GB, free: 10.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003285/0.5006, allocations: 3.938 kB / 1.427 GB, free: 10.49 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.01749/0.5181, allocations: 6.399 MB / 1.433 GB, free: 4.027 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.5182, allocations: 8.031 kB / 1.433 GB, free: 4.02 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006522/0.5247, allocations: 1.102 MB / 1.434 GB, free: 2.914 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/0.5339, allocations: 3.572 MB / 1.438 GB, free: 15.27 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.5343, allocations: 427.7 kB / 1.438 GB, free: 14.86 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.536, allocations: 0.5432 MB / 1.439 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5554, allocations: 10.28 MB / 1.449 GB, free: 3.48 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.5556, allocations: 27.77 kB / 1.449 GB, free: 3.453 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006437/0.5562, allocations: 244 kB / 1.449 GB, free: 3.215 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006038/0.5568, allocations: 418.9 kB / 1.449 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.5704, allocations: 7.12 MB / 1.456 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/0.6109, allocations: 25.35 MB / 1.481 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.6157, allocations: 2.904 MB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.6186, allocations: 1.932 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.6187, allocations: 22 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.6188, allocations: 60.56 kB / 1.486 GB, free: 12.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.829e-06/0.6188, allocations: 0 / 1.486 GB, free: 12.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.0248/0.6436, allocations: 10.26 MB / 1.496 GB, free: 2.504 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.6437, allocations: 73.41 kB / 1.496 GB, free: 2.418 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.6463, allocations: 1.837 MB / 1.498 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.6465, allocations: 65.7 kB / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.6484, allocations: 2.481 MB / 1.5 GB, free: 13.98 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/0.6492, allocations: 0.7746 MB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008354/0.6501, allocations: 481.5 kB / 1.501 GB, free: 12.72 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6502, allocations: 301.1 kB / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.6523, allocations: 1.379 MB / 1.503 GB, free: 11.04 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.6552, allocations: 2.108 MB / 1.505 GB, free: 8.613 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.6604, allocations: 3.766 MB / 1.509 GB, free: 4.535 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.6604, allocations: 4 kB / 1.509 GB, free: 4.531 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008819/0.6692, allocations: 5.011 MB / 1.514 GB, free: 15.5 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.6693, allocations: 17.41 kB / 1.514 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.6693, allocations: 20 kB / 1.514 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/0.6732, allocations: 1.573 MB / 1.515 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.6749, allocations: 455.2 kB / 1.516 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/0.6994, allocations: 17.78 MB / 1.533 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.7015, allocations: 147.9 kB / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/0.7018, allocations: 108 kB / 1.533 GB, free: 11 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.003972/0.7057, allocations: 1.942 MB / 1.535 GB, free: 9.043 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007319/0.7065, allocations: 294.2 kB / 1.535 GB, free: 8.754 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/0.7146, allocations: 4.381 MB / 1.54 GB, free: 4.344 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.7146, allocations: 24 kB / 1.54 GB, free: 4.32 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.7146, allocations: 16 kB / 1.54 GB, free: 4.305 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.7146, allocations: 11.95 kB / 1.54 GB, free: 4.293 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.7312, allocations: 8.353 MB / 1.548 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.7312, allocations: 4 kB / 1.548 GB, free: 11.81 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7323, allocations: 232.2 kB / 1.548 GB, free: 11.59 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.7359, allocations: 1.418 MB / 1.55 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.7361, allocations: 47.98 kB / 1.55 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02474/0.7608, allocations: 17.79 MB / 1.567 GB, free: 7.906 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.7608, allocations: 7.938 kB / 1.567 GB, free: 7.898 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/0.7691, allocations: 4.482 MB / 1.571 GB, free: 3.328 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/0.7709, allocations: 0.5489 MB / 1.572 GB, free: 2.777 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.7713, allocations: 40 kB / 1.572 GB, free: 2.738 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7725, allocations: 115.9 kB / 1.572 GB, free: 2.625 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.7731, allocations: 193.5 kB / 1.572 GB, free: 2.438 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.7732, allocations: 56 kB / 1.572 GB, free: 2.383 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001777/0.775, allocations: 1.168 MB / 1.573 GB, free: 1.199 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.775, allocations: 0 / 1.573 GB, free: 1.199 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004071/0.7791, allocations: 1.133 MB / 1.575 GB, free: 68 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.0003873/0.7794, allocations: 167.1 kB / 1.575 GB, free: 15.89 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008084/0.7875, allocations: 4.555 MB / 1.579 GB, free: 11.28 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7875, allocations: 0 / 1.579 GB, free: 11.28 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005069/0.7926, allocations: 2.805 MB / 1.582 GB, free: 8.43 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/0.7965, allocations: 0.808 MB / 1.583 GB, free: 7.633 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/0.816, allocations: 9.552 MB / 1.592 GB, free: 13.98 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/0.8211, allocations: 3.17 MB / 1.595 GB, free: 10.77 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001909/0.823, allocations: 0.5304 MB / 1.596 GB, free: 10.23 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.8234, allocations: 135.4 kB / 1.596 GB, free: 10.1 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/0.8234, allocations: 0 / 1.596 GB, free: 10.1 MB / 1.295 GB Notification: Performance of Templates: time 0.7027/1.526, allocations: 59.67 MB / 1.654 GB, free: 236.1 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 -s cvode -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: 11.256856106003397]