Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001053/0.001053, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001008/0.001008, allocations: 173 kB / 23.49 MB, free: 1.059 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.9666/0.9666, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.044/2.044, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.488e-06/4.488e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.177e-05/5.626e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03428/0.03434, allocations: 23.47 MB / 0.9011 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.04498, allocations: 6.59 MB / 0.9076 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.04707, allocations: 123.1 kB / 0.9077 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.04966, allocations: 1.55 MB / 0.9092 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.0536, allocations: 1.994 MB / 0.9111 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.05685, allocations: 1.477 MB / 0.9126 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007663/0.06451, allocations: 7.024 MB / 0.9194 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005488/0.07, allocations: 3.762 MB / 0.9231 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.07587, allocations: 4.042 MB / 0.9271 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005308/0.08118, allocations: 3.527 MB / 0.9305 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.08324, allocations: 0.5273 MB / 0.931 GB, free: 324 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.08663, allocations: 1.135 MB / 0.9321 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.08999, allocations: 2.697 MB / 0.9348 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.09231, allocations: 1.778 MB / 0.9365 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.09733, allocations: 4.893 MB / 0.9413 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.09733, allocations: 4 kB / 0.9413 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.264e-06/0.09734, allocations: 0 / 0.9413 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.973e-05/0.09744, allocations: 0 / 0.9413 GB, free: 5.785 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005156/0.1026, allocations: 4.741 MB / 0.9459 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1026, allocations: 8.031 kB / 0.9459 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00567/0.1083, allocations: 2.225 MB / 0.9481 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.1112, allocations: 2.526 MB / 0.9506 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.1114, allocations: 283.7 kB / 0.9508 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.1118, allocations: 368.2 kB / 0.9512 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005359/0.1172, allocations: 4.128 MB / 0.9552 GB, free: 7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.1172, allocations: 8.125 kB / 0.9552 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.1175, allocations: 164.3 kB / 0.9554 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004029/0.1179, allocations: 491.2 kB / 0.9558 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.121, allocations: 1.598 MB / 0.9574 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.1383, allocations: 21.25 MB / 0.9781 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1394, allocations: 0.7862 MB / 0.9789 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.1405, allocations: 0.8226 MB / 0.9797 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1406, allocations: 29.3 kB / 0.9797 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1407, allocations: 50.7 kB / 0.9798 GB, free: 13.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=146): time 4.088e-06/0.1407, allocations: 0 / 0.9798 GB, free: 13.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=251): time 0.03476/0.1755, allocations: 17.04 MB / 0.9964 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.1755, allocations: 77.41 kB / 0.9965 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.1771, allocations: 1.441 MB / 0.9979 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.1773, allocations: 65.7 kB / 0.998 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.1782, allocations: 1.862 MB / 0.9998 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006496/0.1789, allocations: 0.918 MB / 1.001 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/0.1795, allocations: 455.8 kB / 1.001 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1797, allocations: 484.7 kB / 1.002 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.1812, allocations: 0.7274 MB / 1.002 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.1829, allocations: 1.576 MB / 1.004 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.186, allocations: 2.522 MB / 1.006 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.186, allocations: 4 kB / 1.006 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01602/0.202, allocations: 8.574 MB / 1.015 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2021, allocations: 16 kB / 1.015 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.2021, allocations: 16 kB / 1.015 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/0.2186, allocations: 6.929 MB / 1.021 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.2194, allocations: 303.4 kB / 1.022 GB, free: 1.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03375/0.2532, allocations: 25.52 MB / 1.047 GB, free: 7.141 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.2554, allocations: 219.7 kB / 1.047 GB, free: 6.926 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.2555, allocations: 103.9 kB / 1.047 GB, free: 6.824 MB / 1.01 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001418/0.257, allocations: 304.1 kB / 1.047 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/0.2574, allocations: 326.5 kB / 1.048 GB, free: 6.195 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.623/0.8804, allocations: 8.615 MB / 1.056 GB, free: 191 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/0.8805, allocations: 25.59 kB / 1.056 GB, free: 191 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002299/0.8807, allocations: 43.12 kB / 1.056 GB, free: 191 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-05/0.8808, allocations: 13.16 kB / 1.056 GB, free: 191 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02413/0.9049, allocations: 12.4 MB / 1.068 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.9049, allocations: 5.062 kB / 1.068 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.9055, allocations: 165.8 kB / 1.068 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0233/0.9288, allocations: 6.743 MB / 1.075 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000695/0.9295, allocations: 53.88 kB / 1.075 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04451/0.974, allocations: 25.4 MB / 1.1 GB, free: 175.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.048e-06/0.974, allocations: 11.41 kB / 1.1 GB, free: 175.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/0.9934, allocations: 8.56 MB / 1.108 GB, free: 174 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/0.9955, allocations: 0.7063 MB / 1.109 GB, free: 173.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/0.9961, allocations: 53.11 kB / 1.109 GB, free: 173.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.9976, allocations: 212.1 kB / 1.109 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002035/0.9996, allocations: 254.6 kB / 1.109 GB, free: 173.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/0.9998, allocations: 65.12 kB / 1.109 GB, free: 173.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001267/1.001, allocations: 0.8229 MB / 1.11 GB, free: 173.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.31e-07/1.001, allocations: 5.094 kB / 1.11 GB, free: 173.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007241/1.008, allocations: 1.623 MB / 1.112 GB, free: 173.1 MB / 1.01 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007572/1.009, allocations: 154.9 kB / 1.112 GB, free: 173 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01518/1.024, allocations: 6.777 MB / 1.119 GB, free: 170.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-05/1.024, allocations: 1.125 kB / 1.119 GB, free: 170.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.037, allocations: 5.575 MB / 1.124 GB, free: 168.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.04, allocations: 0.5452 MB / 1.125 GB, free: 168.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.054, allocations: 7.505 MB / 1.132 GB, free: 164.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/1.056, allocations: 1.3 MB / 1.133 GB, free: 164.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009831/1.057, allocations: 318.5 kB / 1.133 GB, free: 164.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/1.058, allocations: 101.6 kB / 1.134 GB, free: 164.3 MB / 1.01 GB Notification: Performance of SimCode: time 3.387e-06/1.058, allocations: 0 / 1.134 GB, free: 164.3 MB / 1.01 GB Notification: Performance of Templates: time 0.108/1.166, allocations: 100.2 MB / 1.231 GB, free: 72.95 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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: 7.999017341062427]