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.0009811/0.0009811, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001141/0.001141, allocations: 161 kB / 23.82 MB, free: 0.75 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.9688/0.9688, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.795/1.795, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.733e-06/1.733e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.073e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004794/0.004825, allocations: 4.895 MB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.007935, allocations: 1.72 MB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.008368, allocations: 40.16 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.009076, allocations: 211.2 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008045/0.009881, allocations: 449.2 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.01063, allocations: 395.3 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.0119, allocations: 1.283 MB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.01291, allocations: 0.5294 MB / 0.8208 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009076/0.01382, allocations: 0.6715 MB / 0.8215 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.01451, allocations: 0.4956 MB / 0.822 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.01462, allocations: 64 kB / 0.822 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.01494, allocations: 142 kB / 0.8222 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.01517, allocations: 331 kB / 0.8225 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.01547, allocations: 311.2 kB / 0.8228 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.01624, allocations: 0.7435 MB / 0.8235 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01624, allocations: 0 / 0.8235 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01624, allocations: 0 / 0.8235 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.01626, allocations: 2.969 kB / 0.8235 GB, free: 5.469 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.001464/0.01772, allocations: 1.182 MB / 0.8246 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01776, allocations: 12.03 kB / 0.8247 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.01859, allocations: 309 kB / 0.825 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.0193, allocations: 0.5614 MB / 0.8255 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.01934, allocations: 53.67 kB / 0.8256 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.01941, allocations: 64.38 kB / 0.8256 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.02027, allocations: 1.077 MB / 0.8267 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.0203, allocations: 13.16 kB / 0.8267 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.02034, allocations: 24.38 kB / 0.8267 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.02045, allocations: 90.31 kB / 0.8268 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.02093, allocations: 358 kB / 0.8271 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.02436, allocations: 5.723 MB / 0.8327 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.02486, allocations: 284.6 kB / 0.833 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.02503, allocations: 134.8 kB / 0.8331 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.02506, allocations: 8.5 kB / 0.8331 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.02508, allocations: 41.89 kB / 0.8332 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.02509, allocations: 0 / 0.8332 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001838/0.02692, allocations: 1.083 MB / 0.8342 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.02696, allocations: 59.91 kB / 0.8343 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.02733, allocations: 0.5297 MB / 0.8348 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.02736, allocations: 37.7 kB / 0.8348 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.02756, allocations: 482.5 kB / 0.8353 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.02766, allocations: 182.4 kB / 0.8355 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.02779, allocations: 128.3 kB / 0.8356 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.02795, allocations: 0.5391 MB / 0.8361 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.02812, allocations: 117.9 kB / 0.8362 GB, free: 7.871 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.02841, allocations: 428.6 kB / 0.8366 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.0289, allocations: 0.5819 MB / 0.8372 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.0289, allocations: 0 / 0.8372 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001152/0.03005, allocations: 0.7491 MB / 0.8379 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.03007, allocations: 8 kB / 0.8379 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.03008, allocations: 4 kB / 0.838 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.03083, allocations: 314.9 kB / 0.8383 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.03109, allocations: 127.8 kB / 0.8384 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.03487, allocations: 7.611 MB / 0.8458 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.03513, allocations: 44.03 kB / 0.8458 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.03517, allocations: 31.94 kB / 0.8459 GB, free: 13.2 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.0001588/0.03532, allocations: 200.4 kB / 0.8461 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.0354, allocations: 83.58 kB / 0.8462 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.03607, allocations: 0.5532 MB / 0.8467 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03608, allocations: 4 kB / 0.8467 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.03608, allocations: 4 kB / 0.8467 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.03609, allocations: 0 / 0.8467 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.03731, allocations: 1.166 MB / 0.8478 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.03731, allocations: 3.938 kB / 0.8478 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.03745, allocations: 63.89 kB / 0.8479 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.03809, allocations: 294.5 kB / 0.8482 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.03812, allocations: 12 kB / 0.8482 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.04168, allocations: 7.604 MB / 0.8556 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04168, allocations: 3.938 kB / 0.8556 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.04241, allocations: 0.7407 MB / 0.8563 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.04255, allocations: 103.6 kB / 0.8564 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.04259, allocations: 15.95 kB / 0.8565 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.04276, allocations: 27.97 kB / 0.8565 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.04285, allocations: 51.78 kB / 0.8565 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.04287, allocations: 16 kB / 0.8566 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002208/0.04309, allocations: 338.8 kB / 0.8569 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.04309, allocations: 0 / 0.8569 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005157/0.0436, allocations: 228 kB / 0.8571 GB, free: 1.02 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.0001174/0.04372, allocations: 119.2 kB / 0.8572 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.04474, allocations: 1.183 MB / 0.8584 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.04475, allocations: 8.062 kB / 0.8584 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008467/0.04559, allocations: 0.9646 MB / 0.8593 GB, free: 14.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.04616, allocations: 193 kB / 0.8595 GB, free: 14.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.04784, allocations: 1.281 MB / 0.8607 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.048, allocations: 211.4 kB / 0.8609 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.04824, allocations: 97.53 kB / 0.861 GB, free: 12.75 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.04832, allocations: 40.5 kB / 0.8611 GB, free: 12.71 MB / 0.823 GB Notification: Performance of SimCode: time 1.734e-06/0.04832, allocations: 0 / 0.8611 GB, free: 12.71 MB / 0.823 GB Notification: Performance of Templates: time 0.01537/0.06369, allocations: 11.98 MB / 0.8728 GB, free: 0.9883 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.405338934157044]