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.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.001463/0.001463, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001628/0.001628, allocations: 212.1 kB / 22.25 MB, free: 5.258 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.028/3.028, allocations: 476 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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,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: 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.002141/0.002141, allocations: 70.11 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 169.9 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04377/0.3681, allocations: 33.68 MB / 1.316 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.3878, allocations: 10.03 MB / 1.326 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.3912, allocations: 190.7 kB / 1.326 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.4025, allocations: 3.823 MB / 1.33 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.4093, allocations: 2.146 MB / 1.332 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006076/0.4154, allocations: 1.971 MB / 1.334 GB, free: 7.984 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.4265, allocations: 7.968 MB / 1.341 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009983/0.4365, allocations: 5.221 MB / 1.347 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.4426, allocations: 3.494 MB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007003/0.4496, allocations: 3.699 MB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.4517, allocations: 0.6796 MB / 1.354 GB, free: 2.754 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.4557, allocations: 1.358 MB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004329/0.4601, allocations: 2.681 MB / 1.358 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006295/0.4664, allocations: 2.521 MB / 1.361 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.4821, allocations: 10.46 MB / 1.371 GB, free: 1.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4821, allocations: 0 / 1.371 GB, free: 1.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4821, allocations: 0 / 1.371 GB, free: 1.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003633/0.4824, allocations: 4 kB / 1.371 GB, free: 1.676 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.01461/0.4971, allocations: 5.459 MB / 1.376 GB, free: 12.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4971, allocations: 8.031 kB / 1.376 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/0.5029, allocations: 0.9889 MB / 1.377 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/0.5109, allocations: 3.136 MB / 1.38 GB, free: 7.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.5113, allocations: 357.9 kB / 1.381 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.5127, allocations: 472.3 kB / 1.381 GB, free: 7.145 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.5296, allocations: 8.667 MB / 1.389 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.5298, allocations: 23.77 kB / 1.389 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006398/0.5304, allocations: 208 kB / 1.39 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005854/0.531, allocations: 369.1 kB / 1.39 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.5434, allocations: 5.926 MB / 1.396 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/0.5779, allocations: 22.95 MB / 1.418 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.5814, allocations: 1.987 MB / 1.42 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.5833, allocations: 1.325 MB / 1.421 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-05/0.5834, allocations: 25.25 kB / 1.421 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.5835, allocations: 55.78 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.5835, allocations: 0 / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01376/0.5972, allocations: 6.655 MB / 1.428 GB, free: 5.664 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.5973, allocations: 68.72 kB / 1.428 GB, free: 5.586 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.5998, allocations: 1.705 MB / 1.43 GB, free: 3.844 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.5999, allocations: 53.7 kB / 1.43 GB, free: 3.785 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.6016, allocations: 2.203 MB / 1.432 GB, free: 1.562 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000618/0.6022, allocations: 0.5848 MB / 1.433 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.6029, allocations: 408 kB / 1.433 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.603, allocations: 301.1 kB / 1.433 GB, free: 276 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.6047, allocations: 1.059 MB / 1.434 GB, free: 15.2 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.6069, allocations: 1.764 MB / 1.436 GB, free: 13.12 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.6114, allocations: 3.045 MB / 1.439 GB, free: 9.766 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.6114, allocations: 15.94 kB / 1.439 GB, free: 9.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007415/0.6188, allocations: 3.887 MB / 1.443 GB, free: 5.816 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.6189, allocations: 20.06 kB / 1.443 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.6189, allocations: 20 kB / 1.443 GB, free: 5.777 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.6214, allocations: 0.9271 MB / 1.444 GB, free: 4.816 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.623, allocations: 431.2 kB / 1.444 GB, free: 4.395 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.6451, allocations: 21.11 MB / 1.465 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.6471, allocations: 123.9 kB / 1.465 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.6473, allocations: 96 kB / 1.465 GB, free: 13.83 MB / 1.17 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.002736/0.65, allocations: 1.651 MB / 1.467 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/0.6505, allocations: 242.5 kB / 1.467 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/0.6563, allocations: 3.229 MB / 1.47 GB, free: 8.652 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.6563, allocations: 16 kB / 1.47 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.6563, allocations: 8 kB / 1.47 GB, free: 8.629 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.6563, allocations: 7.969 kB / 1.47 GB, free: 8.621 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.67, allocations: 6.453 MB / 1.476 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.6701, allocations: 7.938 kB / 1.476 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/0.671, allocations: 215.6 kB / 1.476 GB, free: 1.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.6734, allocations: 0.8925 MB / 1.477 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.6735, allocations: 35.98 kB / 1.477 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/0.6963, allocations: 21.08 MB / 1.498 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.6963, allocations: 7.938 kB / 1.498 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.7026, allocations: 3.349 MB / 1.501 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.704, allocations: 446.3 kB / 1.502 GB, free: 6.637 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/0.7043, allocations: 47.94 kB / 1.502 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7054, allocations: 91.89 kB / 1.502 GB, free: 6.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/0.7058, allocations: 152.9 kB / 1.502 GB, free: 6.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.7059, allocations: 44 kB / 1.502 GB, free: 6.305 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001685/0.7076, allocations: 1.09 MB / 1.503 GB, free: 5.195 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7076, allocations: 0 / 1.503 GB, free: 5.195 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002906/0.7105, allocations: 0.9023 MB / 1.504 GB, free: 4.293 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.0002837/0.7108, allocations: 155 kB / 1.504 GB, free: 4.133 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006981/0.7178, allocations: 4.275 MB / 1.508 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/0.7178, allocations: 11.94 kB / 1.508 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004624/0.7224, allocations: 2.91 MB / 1.511 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.726, allocations: 0.7591 MB / 1.512 GB, free: 11.88 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.7394, allocations: 7.805 MB / 1.519 GB, free: 3.984 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/0.7429, allocations: 2.665 MB / 1.522 GB, free: 1.285 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001694/0.7446, allocations: 0.5083 MB / 1.523 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.745, allocations: 131.4 kB / 1.523 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/0.745, allocations: 4 kB / 1.523 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of Templates: time 0.07973/0.8247, allocations: 47.8 MB / 1.569 GB, free: 1.77 MB / 1.264 GB " [Timeout remaining time 299] 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.552183821797371]