Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0009583/0.0009583, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009175/0.0009175, allocations: 173 kB / 23.5 MB, free: 1.055 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.9109/0.9109, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.071/2.071, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.438e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01751/0.01753, allocations: 22.69 MB / 0.9004 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008105/0.02564, allocations: 6.329 MB / 0.9065 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.02712, allocations: 127 kB / 0.9067 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.0297, allocations: 1.601 MB / 0.9082 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.0329, allocations: 1.768 MB / 0.91 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.03566, allocations: 1.364 MB / 0.9113 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005538/0.0412, allocations: 6.059 MB / 0.9172 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.04551, allocations: 3.21 MB / 0.9203 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.05035, allocations: 3.461 MB / 0.9237 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.0542, allocations: 2.88 MB / 0.9265 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.05521, allocations: 456 kB / 0.927 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.0573, allocations: 1.053 MB / 0.928 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.05952, allocations: 2.222 MB / 0.9302 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.06208, allocations: 1.52 MB / 0.9317 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.06777, allocations: 4.176 MB / 0.9357 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.06778, allocations: 0 / 0.9357 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.06778, allocations: 0 / 0.9357 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001422/0.06792, allocations: 0 / 0.9357 GB, free: 11.49 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005229/0.07315, allocations: 4.078 MB / 0.9397 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.07319, allocations: 12.03 kB / 0.9397 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.07747, allocations: 1.656 MB / 0.9413 GB, free: 5.684 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.08067, allocations: 2.222 MB / 0.9435 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.08081, allocations: 246.3 kB / 0.9437 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/0.0813, allocations: 323.9 kB / 0.9441 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/0.08661, allocations: 3.59 MB / 0.9476 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.08667, allocations: 19.83 kB / 0.9476 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.08694, allocations: 139.9 kB / 0.9477 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003261/0.08726, allocations: 406.3 kB / 0.9481 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.09024, allocations: 1.369 MB / 0.9494 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.1067, allocations: 19.96 MB / 0.9689 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.1076, allocations: 491 kB / 0.9694 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.1083, allocations: 0.5186 MB / 0.9699 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.833e-05/0.1084, allocations: 17 kB / 0.9699 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1084, allocations: 50.39 kB / 0.97 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 4.378e-06/0.1084, allocations: 0 / 0.97 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179): time 0.01931/0.1278, allocations: 9.539 MB / 0.9793 GB, free: 13.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1278, allocations: 73.41 kB / 0.9794 GB, free: 13.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.129, allocations: 1.25 MB / 0.9806 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.1292, allocations: 49.7 kB / 0.9806 GB, free: 12.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008893/0.13, allocations: 1.64 MB / 0.9822 GB, free: 10.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.1305, allocations: 0.6585 MB / 0.9829 GB, free: 9.988 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.131, allocations: 361.2 kB / 0.9832 GB, free: 9.625 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.1311, allocations: 488.7 kB / 0.9837 GB, free: 9.145 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/0.1319, allocations: 0.492 MB / 0.9842 GB, free: 8.648 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.1331, allocations: 1.297 MB / 0.9854 GB, free: 7.008 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.1353, allocations: 1.983 MB / 0.9874 GB, free: 4.699 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.1353, allocations: 8 kB / 0.9874 GB, free: 4.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00867/0.144, allocations: 4.79 MB / 0.992 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.144, allocations: 19.94 kB / 0.9921 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.144, allocations: 16.88 kB / 0.9921 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008398/0.1524, allocations: 3.251 MB / 0.9953 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.1532, allocations: 303.4 kB / 0.9955 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.1745, allocations: 18.4 MB / 1.014 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.176, allocations: 151.8 kB / 1.014 GB, free: 8.977 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.1762, allocations: 80 kB / 1.014 GB, free: 8.898 MB / 0.9792 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008151/0.177, allocations: 288 kB / 1.014 GB, free: 8.605 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.1774, allocations: 258.7 kB / 1.014 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009204/0.1866, allocations: 4.613 MB / 1.019 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.1866, allocations: 19.94 kB / 1.019 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.752e-05/0.1866, allocations: 24 kB / 1.019 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.1867, allocations: 11.97 kB / 1.019 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.1996, allocations: 7.65 MB / 1.026 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.1996, allocations: 8 kB / 1.026 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.2001, allocations: 163.8 kB / 1.026 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007963/0.208, allocations: 3.148 MB / 1.03 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.2082, allocations: 36 kB / 1.03 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/0.2292, allocations: 18.35 MB / 1.047 GB, free: 5.328 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.2292, allocations: 11.94 kB / 1.047 GB, free: 5.316 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008851/0.238, allocations: 4.704 MB / 1.052 GB, free: 456 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3758/0.6138, allocations: 0.5016 MB / 1.053 GB, free: 167.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005315/0.6144, allocations: 37.59 kB / 1.053 GB, free: 167.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.6153, allocations: 135.8 kB / 1.053 GB, free: 167.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.6159, allocations: 181.9 kB / 1.053 GB, free: 167.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.616, allocations: 47.25 kB / 1.053 GB, free: 167.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006704/0.6167, allocations: 0.7158 MB / 1.054 GB, free: 167.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6167, allocations: 2.875 kB / 1.054 GB, free: 167.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002451/0.6191, allocations: 1.119 MB / 1.055 GB, free: 167.7 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.6194, allocations: 148.6 kB / 1.055 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005785/0.6252, allocations: 4.233 MB / 1.059 GB, free: 166.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6252, allocations: 0 / 1.059 GB, free: 166.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/0.6295, allocations: 3.384 MB / 1.062 GB, free: 165.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.6311, allocations: 0.5218 MB / 1.063 GB, free: 165.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.6387, allocations: 5.968 MB / 1.069 GB, free: 162.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.6398, allocations: 1.007 MB / 1.07 GB, free: 162.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007059/0.6405, allocations: 315 kB / 1.07 GB, free: 162.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.6407, allocations: 89.19 kB / 1.07 GB, free: 162.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.924e-06/0.6407, allocations: 3 kB / 1.07 GB, free: 162.6 MB / 1.01 GB Notification: Performance of Templates: time 0.07664/0.7174, allocations: 65.41 MB / 1.134 GB, free: 147.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.8107724951114506]