Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.00094/0.00094, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.0009717/0.0009717, allocations: 163.1 kB / 24.86 MB, free: 8.895 MB / 18.57 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 0.9483/0.9483, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.815/1.815, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.117e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006398/0.006419, allocations: 4.817 MB / 0.8175 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.008637, allocations: 1.712 MB / 0.8192 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.008886, allocations: 39.62 kB / 0.8192 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.0094, allocations: 204.1 kB / 0.8194 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.009908, allocations: 449.4 kB / 0.8198 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.01038, allocations: 394.1 kB / 0.8202 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00084/0.01122, allocations: 1.283 MB / 0.8214 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.01175, allocations: 0.5303 MB / 0.822 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005507/0.0123, allocations: 0.6763 MB / 0.8226 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.01285, allocations: 0.4908 MB / 0.8231 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.01292, allocations: 68 kB / 0.8232 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.0131, allocations: 135.8 kB / 0.8233 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.0133, allocations: 341.9 kB / 0.8236 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.0135, allocations: 307.3 kB / 0.8239 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.01405, allocations: 0.7357 MB / 0.8246 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01405, allocations: 0 / 0.8246 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01405, allocations: 0 / 0.8246 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.01406, allocations: 0 / 0.8246 GB, free: 5.254 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001033/0.0151, allocations: 1.183 MB / 0.8258 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.01513, allocations: 8.594 kB / 0.8258 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/0.01587, allocations: 289.7 kB / 0.8261 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.01639, allocations: 0.5441 MB / 0.8266 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.01642, allocations: 50.7 kB / 0.8267 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.01649, allocations: 68.36 kB / 0.8267 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.01715, allocations: 1.029 MB / 0.8277 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.01717, allocations: 5.25 kB / 0.8277 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.01721, allocations: 32.36 kB / 0.8278 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-05/0.0173, allocations: 89.19 kB / 0.8278 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.0176, allocations: 292.9 kB / 0.8281 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.02033, allocations: 5.581 MB / 0.8336 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.02068, allocations: 248.3 kB / 0.8338 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.02081, allocations: 117.1 kB / 0.8339 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.02084, allocations: 8.484 kB / 0.8339 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.02086, allocations: 47.08 kB / 0.834 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.02086, allocations: 0 / 0.834 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001415/0.02228, allocations: 0.9051 MB / 0.8349 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.0223, allocations: 55.91 kB / 0.8349 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.02259, allocations: 0.5293 MB / 0.8354 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.02261, allocations: 33.7 kB / 0.8355 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.02281, allocations: 486.4 kB / 0.8359 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.02289, allocations: 182.5 kB / 0.8361 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.02301, allocations: 136.2 kB / 0.8362 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.02314, allocations: 0.5468 MB / 0.8368 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.02324, allocations: 81.94 kB / 0.8368 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.02353, allocations: 408.6 kB / 0.8372 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.0239, allocations: 0.535 MB / 0.8378 GB, free: 7.016 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0239, allocations: 0 / 0.8378 GB, free: 7.016 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007136/0.02462, allocations: 0.6793 MB / 0.8384 GB, free: 6.309 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.02464, allocations: 8 kB / 0.8384 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.02465, allocations: 8 kB / 0.8384 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/0.02531, allocations: 302.4 kB / 0.8387 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.02553, allocations: 111.8 kB / 0.8388 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.02896, allocations: 7.469 MB / 0.8461 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.02918, allocations: 24 kB / 0.8461 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.0292, allocations: 23.98 kB / 0.8462 GB, free: 13.9 MB / 0.8073 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001451/0.02935, allocations: 204.4 kB / 0.8464 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.02943, allocations: 87.52 kB / 0.8464 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.03001, allocations: 0.4908 MB / 0.8469 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.03001, allocations: 4 kB / 0.8469 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.03002, allocations: 15.92 kB / 0.8469 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03002, allocations: 0 / 0.8469 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.03108, allocations: 1.014 MB / 0.8479 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.03108, allocations: 0 / 0.8479 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.0312, allocations: 47.92 kB / 0.848 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006071/0.0318, allocations: 286.7 kB / 0.8483 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.03182, allocations: 12 kB / 0.8483 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.03509, allocations: 7.466 MB / 0.8556 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.03509, allocations: 0 / 0.8556 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.03571, allocations: 0.6897 MB / 0.8562 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.03583, allocations: 99.53 kB / 0.8563 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.03587, allocations: 16.02 kB / 0.8563 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.03602, allocations: 12 kB / 0.8563 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.03609, allocations: 43.86 kB / 0.8564 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.0361, allocations: 15.94 kB / 0.8564 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001652/0.03627, allocations: 326.7 kB / 0.8567 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03627, allocations: 0 / 0.8567 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004912/0.03676, allocations: 220 kB / 0.8569 GB, free: 2.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001316/0.03689, allocations: 115.2 kB / 0.857 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.0379, allocations: 1.143 MB / 0.8582 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.0379, allocations: 0 / 0.8582 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005756/0.03847, allocations: 0.9376 MB / 0.8591 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.03908, allocations: 208.8 kB / 0.8593 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.04071, allocations: 1.275 MB / 0.8605 GB, free: 14.35 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.04084, allocations: 211.3 kB / 0.8607 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.04101, allocations: 73.58 kB / 0.8608 GB, free: 14.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.0413, allocations: 246 kB / 0.861 GB, free: 13.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/0.0413, allocations: 4 kB / 0.861 GB, free: 13.8 MB / 0.823 GB Notification: Performance of Templates: time 0.01385/0.05515, allocations: 12.32 MB / 0.8731 GB, free: 1.746 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2632586397230625]