Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001085/0.001085, 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.0008694/0.0008694, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9315/0.9315, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.633e-05, allocations: 3.125 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01672/0.01673, allocations: 21.5 MB / 0.8081 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00898/0.02571, allocations: 6.167 MB / 0.8141 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.02749, allocations: 202.6 kB / 0.8143 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.02909, allocations: 0.9284 MB / 0.8152 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.03206, allocations: 2.053 MB / 0.8172 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.03466, allocations: 1.841 MB / 0.819 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006793/0.04145, allocations: 9.325 MB / 0.8281 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005787/0.04724, allocations: 6.187 MB / 0.8342 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.05218, allocations: 5.755 MB / 0.8398 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003572/0.05575, allocations: 4.541 MB / 0.8442 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006786/0.05643, allocations: 0.8203 MB / 0.845 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.05743, allocations: 0.9021 MB / 0.8459 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.05934, allocations: 3.406 MB / 0.8492 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.06114, allocations: 2.585 MB / 0.8518 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.06534, allocations: 6.335 MB / 0.858 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.06535, allocations: 4 kB / 0.858 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.264e-06/0.06535, allocations: 3.984 kB / 0.858 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.096e-05/0.0654, allocations: 0 / 0.858 GB, free: 3.648 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006086/0.07149, allocations: 6.602 MB / 0.8644 GB, free: 12.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.07153, allocations: 8.031 kB / 0.8644 GB, free: 12.97 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.0741, allocations: 1.624 MB / 0.866 GB, free: 11.34 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.07732, allocations: 3.438 MB / 0.8694 GB, free: 7.844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.07775, allocations: 431.7 kB / 0.8698 GB, free: 7.422 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.07826, allocations: 0.5589 MB / 0.8703 GB, free: 6.863 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006285/0.08454, allocations: 6.269 MB / 0.8764 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.168e-05/0.08462, allocations: 20 kB / 0.8765 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.08497, allocations: 244.3 kB / 0.8767 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.08531, allocations: 426.8 kB / 0.8771 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/0.08883, allocations: 2.148 MB / 0.8792 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.1064, allocations: 28.17 MB / 0.9067 GB, free: 176 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1081, allocations: 1.427 MB / 0.9081 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.1092, allocations: 0.9293 MB / 0.909 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.801e-05/0.1092, allocations: 34 kB / 0.909 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.1093, allocations: 67.33 kB / 0.9091 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=209): time 4.128e-06/0.1093, allocations: 0 / 0.9091 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=212): time 0.01074/0.12, allocations: 6.426 MB / 0.9154 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1201, allocations: 81.34 kB / 0.9155 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.1213, allocations: 1.691 MB / 0.9171 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.1214, allocations: 61.7 kB / 0.9172 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.1225, allocations: 2.529 MB / 0.9196 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.1229, allocations: 0.7864 MB / 0.9204 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.1234, allocations: 488 kB / 0.9209 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.1235, allocations: 484.7 kB / 0.9213 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.1242, allocations: 465 kB / 0.9218 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.1253, allocations: 1.493 MB / 0.9232 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.1273, allocations: 2.155 MB / 0.9253 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.1273, allocations: 8 kB / 0.9253 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003435/0.1307, allocations: 2.875 MB / 0.9282 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1308, allocations: 16 kB / 0.9282 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1308, allocations: 24 kB / 0.9282 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.133, allocations: 1.201 MB / 0.9294 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.1338, allocations: 463.2 kB / 0.9298 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009595/0.1434, allocations: 12.4 MB / 0.9419 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.1442, allocations: 147.9 kB / 0.9421 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.1443, allocations: 108 kB / 0.9422 GB, free: 10.34 MB / 0.9011 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007735/0.1451, allocations: 319.8 kB / 0.9425 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.1454, allocations: 346.4 kB / 0.9428 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.1482, allocations: 2.257 MB / 0.945 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.1482, allocations: 20 kB / 0.945 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.1482, allocations: 16 kB / 0.945 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1482, allocations: 7.969 kB / 0.945 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/0.1552, allocations: 6.174 MB / 0.9511 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1552, allocations: 8.031 kB / 0.9511 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.1557, allocations: 239.6 kB / 0.9513 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.1577, allocations: 1.064 MB / 0.9523 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.1578, allocations: 40 kB / 0.9524 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0093/0.1671, allocations: 12.35 MB / 0.9644 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1671, allocations: 8 kB / 0.9645 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.17, allocations: 2.534 MB / 0.9669 GB, free: 172 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.1707, allocations: 0.5178 MB / 0.9674 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.1708, allocations: 40 kB / 0.9675 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.1714, allocations: 115.9 kB / 0.9676 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.1717, allocations: 185.3 kB / 0.9678 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.1718, allocations: 63.92 kB / 0.9678 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007861/0.1725, allocations: 0.9535 MB / 0.9687 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 0 / 0.9687 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001917/0.1745, allocations: 1.148 MB / 0.9699 GB, free: 13.13 MB / 0.9323 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.1747, allocations: 159 kB / 0.97 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.1778, allocations: 3.123 MB / 0.9731 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1778, allocations: 5 kB / 0.9731 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.18, allocations: 2.296 MB / 0.9753 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.1817, allocations: 0.8199 MB / 0.9761 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008787/0.1905, allocations: 8.438 MB / 0.9844 GB, free: 14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.1915, allocations: 1.4 MB / 0.9857 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008259/0.1924, allocations: 463.1 kB / 0.9862 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.1926, allocations: 136.5 kB / 0.9863 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 1.213e-06/0.1926, allocations: 4 kB / 0.9863 GB, free: 11.98 MB / 0.948 GB Notification: Performance of Templates: time 0.05869/0.2513, allocations: 54.8 MB / 1.04 GB, free: 6.199 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.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: 6.287987833842635]