Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001533/0.001533, 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.001338/0.001338, allocations: 173 kB / 23.49 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.9678/0.9678, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.047/2.047, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.828e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03364/0.03365, allocations: 31.1 MB / 0.9086 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.05205, allocations: 13.79 MB / 0.922 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.05508, allocations: 198.4 kB / 0.9222 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005855/0.06094, allocations: 3.297 MB / 0.9254 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006582/0.06752, allocations: 2.834 MB / 0.9282 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.07181, allocations: 2.038 MB / 0.9302 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.008293/0.0801, allocations: 7.79 MB / 0.9378 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/0.08589, allocations: 4.631 MB / 0.9423 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006221/0.09212, allocations: 4.947 MB / 0.9472 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/0.0963, allocations: 3.234 MB / 0.9503 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0009003/0.0972, allocations: 0.5938 MB / 0.9509 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.09924, allocations: 1.419 MB / 0.9523 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.1007, allocations: 2.564 MB / 0.9548 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.1023, allocations: 2.015 MB / 0.9568 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.1067, allocations: 5.329 MB / 0.962 GB, free: 484 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1067, allocations: 0 / 0.962 GB, free: 484 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1067, allocations: 0 / 0.962 GB, free: 484 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.518e-05/0.1067, allocations: 0 / 0.962 GB, free: 484 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005325/0.1121, allocations: 5.401 MB / 0.9672 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1121, allocations: 15.97 kB / 0.9673 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.1156, allocations: 1.562 MB / 0.9688 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.119, allocations: 3.004 MB / 0.9717 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1192, allocations: 324.8 kB / 0.972 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.1196, allocations: 428.3 kB / 0.9724 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004768/0.1244, allocations: 4.556 MB / 0.9769 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.425e-05/0.1244, allocations: 19.83 kB / 0.9769 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.1247, allocations: 184 kB / 0.9771 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004792/0.1252, allocations: 372 kB / 0.9774 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.1284, allocations: 1.625 MB / 0.979 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.1443, allocations: 21.17 MB / 0.9997 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.1452, allocations: 0.5735 MB / 1 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.1458, allocations: 0.5349 MB / 1.001 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.1459, allocations: 25.31 kB / 1.001 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.146, allocations: 50.7 kB / 1.001 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=130): time 3.427e-06/0.146, allocations: 0 / 1.001 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=199): time 0.01174/0.1577, allocations: 6.615 MB / 1.007 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1577, allocations: 73.41 kB / 1.007 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.1591, allocations: 1.696 MB / 1.009 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.1592, allocations: 57.7 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/0.1602, allocations: 2.129 MB / 1.011 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.1606, allocations: 0.7205 MB / 1.012 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/0.161, allocations: 410.4 kB / 1.012 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.1611, allocations: 480.8 kB / 1.013 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.1621, allocations: 0.512 MB / 1.013 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.1632, allocations: 1.327 MB / 1.015 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.1653, allocations: 2.026 MB / 1.016 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1654, allocations: 4 kB / 1.016 GB, free: 6.473 MB / 0.9792 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00529/0.1706, allocations: 3.307 MB / 1.02 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1707, allocations: 12 kB / 1.02 GB, free: 3.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1707, allocations: 16 kB / 1.02 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00425/0.1749, allocations: 1.751 MB / 1.021 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.1757, allocations: 375.4 kB / 1.022 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3811/0.5568, allocations: 35.82 MB / 1.057 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5583, allocations: 129.1 kB / 1.057 GB, free: 190.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.5584, allocations: 90.55 kB / 1.057 GB, free: 190.2 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.000886/0.5593, allocations: 306.5 kB / 1.057 GB, free: 190.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.5596, allocations: 334.7 kB / 1.058 GB, free: 190.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.5638, allocations: 2.885 MB / 1.06 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5638, allocations: 19.38 kB / 1.06 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/0.5638, allocations: 19.62 kB / 1.06 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5639, allocations: 13.64 kB / 1.06 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007576/0.5714, allocations: 6.292 MB / 1.067 GB, free: 188.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.5714, allocations: 7.969 kB / 1.067 GB, free: 188.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.5719, allocations: 218.1 kB / 1.067 GB, free: 188.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.5756, allocations: 1.643 MB / 1.068 GB, free: 188.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.5757, allocations: 42.5 kB / 1.068 GB, free: 188.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.5889, allocations: 35.75 MB / 1.103 GB, free: 156 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5889, allocations: 13.12 kB / 1.103 GB, free: 156 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.5927, allocations: 3.014 MB / 1.106 GB, free: 154.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.5932, allocations: 0.5033 MB / 1.107 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.5934, allocations: 47.03 kB / 1.107 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.5941, allocations: 124.9 kB / 1.107 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/0.5945, allocations: 199.6 kB / 1.107 GB, free: 154.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.5946, allocations: 61.59 kB / 1.107 GB, free: 154.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007765/0.5954, allocations: 0.9793 MB / 1.108 GB, free: 154.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5954, allocations: 0 / 1.108 GB, free: 154.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002247/0.5976, allocations: 1.052 MB / 1.109 GB, free: 154 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.5978, allocations: 172.3 kB / 1.109 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004429/0.6022, allocations: 5.415 MB / 1.115 GB, free: 150.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6023, allocations: 3.188 kB / 1.115 GB, free: 150.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.6051, allocations: 4.568 MB / 1.119 GB, free: 146.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.6071, allocations: 0.9062 MB / 1.12 GB, free: 146.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008086/0.6152, allocations: 7.291 MB / 1.127 GB, free: 142.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.6162, allocations: 1.172 MB / 1.128 GB, free: 142 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008923/0.6171, allocations: 432.9 kB / 1.129 GB, free: 141.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.6174, allocations: 135.5 kB / 1.129 GB, free: 141.9 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.6174, allocations: 1.062 kB / 1.129 GB, free: 141.9 MB / 1.01 GB Notification: Performance of Templates: time 0.06046/0.6778, allocations: 61.48 MB / 1.189 GB, free: 109.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.844097132096067]