Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_R,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.89 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9184/0.9204, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04561/0.966, allocations: 36.81 MB / 1.308 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.9865, allocations: 10.29 MB / 1.318 GB, free: 8.641 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.9911, allocations: 148.7 kB / 1.318 GB, free: 8.594 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/1.003, allocations: 3.954 MB / 1.322 GB, free: 6.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008456/1.012, allocations: 2.149 MB / 1.324 GB, free: 4.926 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007797/1.019, allocations: 2.032 MB / 1.326 GB, free: 3.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01423/1.034, allocations: 7.962 MB / 1.334 GB, free: 116 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/1.046, allocations: 4.9 MB / 1.339 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007242/1.054, allocations: 3.42 MB / 1.342 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008623/1.062, allocations: 3.936 MB / 1.346 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002997/1.065, allocations: 0.6786 MB / 1.346 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/1.072, allocations: 1.466 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006936/1.079, allocations: 2.693 MB / 1.351 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009494/1.088, allocations: 3.103 MB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/1.107, allocations: 10.41 MB / 1.364 GB, free: 15.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.107, allocations: 0.8438 kB / 1.364 GB, free: 15.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.635e-06/1.107, allocations: 0 / 1.364 GB, free: 15.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004812/1.108, allocations: 1.156 kB / 1.364 GB, free: 15.21 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02136/1.129, allocations: 5.537 MB / 1.369 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.129, allocations: 9.625 kB / 1.369 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007485/1.137, allocations: 0.988 MB / 1.37 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008921/1.146, allocations: 3.2 MB / 1.373 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/1.146, allocations: 354.2 kB / 1.374 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/1.148, allocations: 468.6 kB / 1.374 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/1.171, allocations: 7.912 MB / 1.382 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/1.171, allocations: 16.31 kB / 1.382 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/1.173, allocations: 212.3 kB / 1.382 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000638/1.173, allocations: 368.5 kB / 1.382 GB, free: 3.363 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/1.188, allocations: 5.947 MB / 1.388 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05396/1.242, allocations: 36 MB / 1.423 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/1.245, allocations: 1.998 MB / 1.425 GB, free: 4.254 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.247, allocations: 1.333 MB / 1.427 GB, free: 2.922 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-05/1.247, allocations: 17.31 kB / 1.427 GB, free: 2.906 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/1.247, allocations: 59.81 kB / 1.427 GB, free: 2.84 MB / 1.107 GB Notification: Performance of pre-optimization done (n=157): time 3.626e-06/1.247, allocations: 0 / 1.427 GB, free: 2.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=160): time 0.01588/1.263, allocations: 7.574 MB / 1.434 GB, free: 11 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.263, allocations: 68.72 kB / 1.434 GB, free: 10.92 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/1.266, allocations: 1.864 MB / 1.436 GB, free: 9.031 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/1.267, allocations: 53.7 kB / 1.436 GB, free: 8.973 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/1.268, allocations: 2.192 MB / 1.438 GB, free: 6.762 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/1.269, allocations: 0.581 MB / 1.439 GB, free: 6.176 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/1.27, allocations: 404 kB / 1.439 GB, free: 5.773 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.27, allocations: 305.1 kB / 1.439 GB, free: 5.473 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.271, allocations: 1.062 MB / 1.44 GB, free: 4.406 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.274, allocations: 1.764 MB / 1.442 GB, free: 2.324 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/1.278, allocations: 3.041 MB / 1.445 GB, free: 14.97 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/1.278, allocations: 8 kB / 1.445 GB, free: 14.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007678/1.286, allocations: 3.914 MB / 1.449 GB, free: 11 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/1.286, allocations: 16 kB / 1.449 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/1.286, allocations: 20.09 kB / 1.449 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.289, allocations: 0.935 MB / 1.45 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.29, allocations: 427.3 kB / 1.45 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/1.313, allocations: 22.77 MB / 1.472 GB, free: 1.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.316, allocations: 123.9 kB / 1.473 GB, free: 1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.316, allocations: 95.98 kB / 1.473 GB, free: 0.9062 MB / 1.154 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003506/1.319, allocations: 1.647 MB / 1.474 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006913/1.32, allocations: 270.3 kB / 1.475 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/1.326, allocations: 3.24 MB / 1.478 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/1.326, allocations: 19.98 kB / 1.478 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.326, allocations: 8 kB / 1.478 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.326, allocations: 11.91 kB / 1.478 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.34, allocations: 7.525 MB / 1.485 GB, free: 3.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.34, allocations: 4 kB / 1.485 GB, free: 3.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/1.341, allocations: 215.6 kB / 1.485 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/1.343, allocations: 0.8891 MB / 1.486 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/1.343, allocations: 32 kB / 1.486 GB, free: 2.801 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/1.366, allocations: 22.74 MB / 1.508 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.366, allocations: 8 kB / 1.508 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/1.373, allocations: 3.373 MB / 1.512 GB, free: 6.891 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.374, allocations: 0.5384 MB / 1.512 GB, free: 6.332 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/1.375, allocations: 36 kB / 1.512 GB, free: 6.297 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.376, allocations: 99.81 kB / 1.512 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004476/1.376, allocations: 137 kB / 1.513 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.376, allocations: 48 kB / 1.513 GB, free: 6.02 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001845/1.378, allocations: 1.225 MB / 1.514 GB, free: 4.781 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.378, allocations: 0 / 1.514 GB, free: 4.781 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00327/1.381, allocations: 0.9062 MB / 1.515 GB, free: 3.875 MB / 1.201 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/1.382, allocations: 159.5 kB / 1.515 GB, free: 3.711 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006981/1.389, allocations: 4.303 MB / 1.519 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.389, allocations: 4.312 kB / 1.519 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004401/1.393, allocations: 2.905 MB / 1.522 GB, free: 12.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/1.397, allocations: 0.8182 MB / 1.523 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.413, allocations: 7.836 MB / 1.53 GB, free: 3.441 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004211/1.418, allocations: 3.213 MB / 1.533 GB, free: 204 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002079/1.42, allocations: 0.5332 MB / 1.534 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/1.42, allocations: 143.4 kB / 1.534 GB, free: 15.52 MB / 1.232 GB Notification: Performance of SimCode: time 1.623e-06/1.42, allocations: 0 / 1.534 GB, free: 15.52 MB / 1.232 GB Notification: Performance of Templates: time 0.08016/1.5, allocations: 42.88 MB / 1.576 GB, free: 5.262 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 10.848610053770244]