Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001639/0.001639, 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.001834/0.001834, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 2.992/2.992, allocations: 476 MB / 0.7707 GB, free: 4.715 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002116/0.002116, allocations: 65.92 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 169.9 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04085/0.372, allocations: 29.28 MB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.3976, allocations: 13.21 MB / 1.325 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.4015, allocations: 194.4 kB / 1.325 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009818/0.4113, allocations: 3.201 MB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008729/0.4201, allocations: 2.755 MB / 1.331 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.4265, allocations: 2.022 MB / 1.333 GB, free: 9.082 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.4382, allocations: 7.625 MB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008358/0.4466, allocations: 4.603 MB / 1.345 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007565/0.4541, allocations: 3.65 MB / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006775/0.4609, allocations: 3.293 MB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002018/0.4629, allocations: 0.5977 MB / 1.353 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.4674, allocations: 1.4 MB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003874/0.4713, allocations: 2.408 MB / 1.356 GB, free: 1.328 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005493/0.4768, allocations: 2.338 MB / 1.359 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.4902, allocations: 9.516 MB / 1.368 GB, free: 5.434 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4902, allocations: 0 / 1.368 GB, free: 5.434 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4902, allocations: 0 / 1.368 GB, free: 5.434 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002936/0.4905, allocations: 0 / 1.368 GB, free: 5.434 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01411/0.5046, allocations: 5.164 MB / 1.373 GB, free: 208 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5047, allocations: 12.03 kB / 1.373 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.5112, allocations: 1.022 MB / 1.374 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.5195, allocations: 3.013 MB / 1.377 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.5198, allocations: 316.8 kB / 1.377 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.5214, allocations: 422.5 kB / 1.378 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.5361, allocations: 7.366 MB / 1.385 GB, free: 3.547 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.5362, allocations: 19.83 kB / 1.385 GB, free: 3.527 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005278/0.5367, allocations: 184 kB / 1.385 GB, free: 3.348 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009591/0.5377, allocations: 380 kB / 1.385 GB, free: 2.973 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.5484, allocations: 5.099 MB / 1.39 GB, free: 13.86 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03537/0.5838, allocations: 19.06 MB / 1.409 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.5864, allocations: 1.305 MB / 1.41 GB, free: 8.977 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.5885, allocations: 1.243 MB / 1.411 GB, free: 7.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.5886, allocations: 13.31 kB / 1.411 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.807e-05/0.5887, allocations: 55.86 kB / 1.411 GB, free: 7.652 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 4.298e-06/0.5887, allocations: 4 kB / 1.411 GB, free: 7.648 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.09166/0.6803, allocations: 22.82 MB / 1.434 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.6804, allocations: 81.33 kB / 1.434 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.6838, allocations: 1.849 MB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.6842, allocations: 61.7 kB / 1.436 GB, free: 14.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.6858, allocations: 2.065 MB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.6867, allocations: 0.7126 MB / 1.438 GB, free: 11.93 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/0.6875, allocations: 412.4 kB / 1.439 GB, free: 11.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6876, allocations: 305.1 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.6899, allocations: 1.43 MB / 1.44 GB, free: 9.781 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.6926, allocations: 2.013 MB / 1.442 GB, free: 7.52 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/0.6979, allocations: 3.696 MB / 1.446 GB, free: 3.586 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.6979, allocations: 4 kB / 1.446 GB, free: 3.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01167/0.7096, allocations: 5.577 MB / 1.452 GB, free: 13.94 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.7096, allocations: 14.34 kB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.7096, allocations: 16 kB / 1.452 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/0.7166, allocations: 2.084 MB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.7182, allocations: 371.4 kB / 1.454 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04255/0.7608, allocations: 35.88 MB / 1.489 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.7636, allocations: 123.9 kB / 1.489 GB, free: 5.559 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.7639, allocations: 92 kB / 1.489 GB, free: 5.469 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00314/0.767, allocations: 1.512 MB / 1.491 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006441/0.7677, allocations: 270.4 kB / 1.491 GB, free: 3.68 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.7785, allocations: 5.134 MB / 1.496 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.7785, allocations: 20 kB / 1.496 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-05/0.7786, allocations: 16 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.7786, allocations: 15.95 kB / 1.496 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.7971, allocations: 8.438 MB / 1.504 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.7971, allocations: 8 kB / 1.504 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009785/0.7981, allocations: 216.5 kB / 1.504 GB, free: 5.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005975/0.8041, allocations: 1.838 MB / 1.506 GB, free: 3.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/0.8043, allocations: 43.94 kB / 1.506 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04005/0.8444, allocations: 34.89 MB / 1.54 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.8444, allocations: 15.92 kB / 1.54 GB, free: 14.87 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/0.8543, allocations: 4.827 MB / 1.545 GB, free: 9.879 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/0.8562, allocations: 0.5255 MB / 1.546 GB, free: 9.352 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/0.8566, allocations: 39.98 kB / 1.546 GB, free: 9.312 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.8581, allocations: 131.8 kB / 1.546 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/0.8588, allocations: 197.4 kB / 1.546 GB, free: 8.988 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.8589, allocations: 60 kB / 1.546 GB, free: 8.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002216/0.8611, allocations: 1.204 MB / 1.547 GB, free: 7.711 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.8611, allocations: 0 / 1.547 GB, free: 7.711 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004413/0.8655, allocations: 1.047 MB / 1.548 GB, free: 6.664 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.8659, allocations: 170.9 kB / 1.548 GB, free: 6.488 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01063/0.8765, allocations: 6.01 MB / 1.554 GB, free: 260 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/0.8766, allocations: 0.875 kB / 1.554 GB, free: 260 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007472/0.884, allocations: 4.284 MB / 1.558 GB, free: 11.73 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/0.8882, allocations: 0.9005 MB / 1.559 GB, free: 10.86 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.9049, allocations: 8.825 MB / 1.568 GB, free: 1.953 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/0.9089, allocations: 2.642 MB / 1.57 GB, free: 15.28 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.9096, allocations: 155.4 kB / 1.571 GB, free: 15.12 MB / 1.279 GB Notification: Performance of SimCode: time 1.543e-06/0.9096, allocations: 0 / 1.571 GB, free: 15.12 MB / 1.279 GB Notification: Performance of Templates: time 1.041/1.951, allocations: 465.2 MB / 2.025 GB, free: 5.938 MB / 1.42 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 28.933115093037486]