Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0009755/0.0009755, 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.0009606/0.0009606, allocations: 164.6 kB / 24.87 MB, free: 8.891 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.9172/0.9172, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.852/1.852, allocations: 377.9 MB / 0.6247 GB, free: 8.441 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.546e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02149/0.02152, allocations: 17.8 MB / 0.8302 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.03392, allocations: 5.568 MB / 0.8356 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.03707, allocations: 206.5 kB / 0.8358 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.03975, allocations: 0.8074 MB / 0.8366 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.04423, allocations: 1.794 MB / 0.8384 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.04837, allocations: 1.749 MB / 0.8401 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0105/0.05887, allocations: 8.462 MB / 0.8483 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006549/0.06542, allocations: 6.023 MB / 0.8542 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/0.07054, allocations: 5.365 MB / 0.8595 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.07407, allocations: 4.265 MB / 0.8636 GB, free: 13.18 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006979/0.07477, allocations: 0.7785 MB / 0.8644 GB, free: 12.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.0757, allocations: 0.8786 MB / 0.8652 GB, free: 11.53 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.07757, allocations: 3.309 MB / 0.8685 GB, free: 8.211 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.07942, allocations: 2.395 MB / 0.8708 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.08364, allocations: 5.969 MB / 0.8766 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.08365, allocations: 0.5625 kB / 0.8766 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/0.08365, allocations: 0 / 0.8766 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.01e-05/0.08372, allocations: 0.5312 kB / 0.8766 GB, free: 15.82 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.005663/0.08938, allocations: 5.971 MB / 0.8825 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.08941, allocations: 8.031 kB / 0.8825 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.09219, allocations: 1.573 MB / 0.884 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.09532, allocations: 3 MB / 0.8869 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.09551, allocations: 415.5 kB / 0.8873 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005081/0.09602, allocations: 0.5432 MB / 0.8879 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/0.1009, allocations: 5.088 MB / 0.8928 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.957e-05/0.101, allocations: 27.95 kB / 0.8929 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/0.1014, allocations: 240.3 kB / 0.8931 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.1016, allocations: 350.7 kB / 0.8934 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.1037, allocations: 1.615 MB / 0.895 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.1206, allocations: 25.61 MB / 0.92 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1217, allocations: 1.127 MB / 0.9211 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.1225, allocations: 0.771 MB / 0.9219 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.1225, allocations: 30 kB / 0.9219 GB, free: 116 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1226, allocations: 55.39 kB / 0.9219 GB, free: 48 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=179): time 3.146e-06/0.1226, allocations: 0 / 0.9219 GB, free: 48 kB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.01035/0.1329, allocations: 5.345 MB / 0.9272 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.133, allocations: 69.41 kB / 0.9272 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/0.1338, allocations: 1.361 MB / 0.9286 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.1339, allocations: 53.7 kB / 0.9286 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009059/0.1348, allocations: 2.377 MB / 0.9309 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.1351, allocations: 0.6896 MB / 0.9316 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.1355, allocations: 421.9 kB / 0.932 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.1356, allocations: 480.8 kB / 0.9325 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.136, allocations: 292.2 kB / 0.9327 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.137, allocations: 1.305 MB / 0.934 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.1382, allocations: 1.811 MB / 0.9358 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.1383, allocations: 8 kB / 0.9358 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002725/0.141, allocations: 2.395 MB / 0.9381 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.141, allocations: 16 kB / 0.9382 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.141, allocations: 20 kB / 0.9382 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.143, allocations: 1.186 MB / 0.9393 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1436, allocations: 327.4 kB / 0.9396 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009662/0.1533, allocations: 12.16 MB / 0.9515 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.1539, allocations: 64 kB / 0.9516 GB, free: 284 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/0.154, allocations: 80.19 kB / 0.9517 GB, free: 204 kB / 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008334/0.1548, allocations: 292 kB / 0.9519 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.155, allocations: 282.6 kB / 0.9522 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.1573, allocations: 1.935 MB / 0.9541 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1574, allocations: 20 kB / 0.9541 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.1574, allocations: 19.98 kB / 0.9541 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1574, allocations: 11.91 kB / 0.9541 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.1631, allocations: 4.575 MB / 0.9586 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1631, allocations: 4 kB / 0.9586 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.1635, allocations: 143.8 kB / 0.9588 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.1658, allocations: 0.9795 MB / 0.9597 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.1659, allocations: 36 kB / 0.9597 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008789/0.1747, allocations: 11.42 MB / 0.9709 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1747, allocations: 4 kB / 0.9709 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.177, allocations: 2.178 MB / 0.973 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.1774, allocations: 386.4 kB / 0.9734 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.1776, allocations: 36 kB / 0.9734 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.178, allocations: 35.94 kB / 0.9735 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.1782, allocations: 169.5 kB / 0.9736 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.1783, allocations: 36 kB / 0.9737 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004677/0.1787, allocations: 0.7275 MB / 0.9744 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1787, allocations: 0 / 0.9744 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001846/0.1806, allocations: 0.9922 MB / 0.9753 GB, free: 7.188 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001758/0.1807, allocations: 147 kB / 0.9755 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.1836, allocations: 2.802 MB / 0.9782 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1836, allocations: 0 / 0.9782 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.1853, allocations: 2.071 MB / 0.9802 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.187, allocations: 0.7625 MB / 0.981 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.1954, allocations: 7.802 MB / 0.9886 GB, free: 9.328 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.1967, allocations: 1.346 MB / 0.9899 GB, free: 7.953 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005578/0.1972, allocations: 259.4 kB / 0.9902 GB, free: 7.695 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/0.1981, allocations: 0.5837 MB / 0.9907 GB, free: 7.109 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/0.1981, allocations: 0 / 0.9907 GB, free: 7.109 MB / 0.948 GB Notification: Performance of Templates: time 0.05934/0.2574, allocations: 48.37 MB / 1.038 GB, free: 7.621 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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: 5.935297622811049]