Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001757/0.001757, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001836/0.001836, allocations: 173 kB / 24.28 MB, free: 276 kB / 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 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.797/1.797, allocations: 359 MB / 0.6055 GB, free: 11.01 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_L,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.634e-05, allocations: 4.219 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02344/0.02347, allocations: 33.02 MB / 0.8194 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.03588, allocations: 10.53 MB / 0.8296 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.03849, allocations: 190.6 kB / 0.8298 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005106/0.0436, allocations: 3.842 MB / 0.8336 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.04798, allocations: 2.004 MB / 0.8355 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.05235, allocations: 2.158 MB / 0.8376 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.06291, allocations: 7.457 MB / 0.8449 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009303/0.07222, allocations: 5.14 MB / 0.8499 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.08225, allocations: 4.635 MB / 0.8545 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005337/0.08758, allocations: 3.48 MB / 0.8579 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.08914, allocations: 0.6445 MB / 0.8585 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.09212, allocations: 1.676 MB / 0.8601 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002316/0.09443, allocations: 2.775 MB / 0.8628 GB, free: 14.95 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.09796, allocations: 2.039 MB / 0.8648 GB, free: 12.91 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00767/0.1056, allocations: 5.649 MB / 0.8704 GB, free: 7.246 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1056, allocations: 0 / 0.8704 GB, free: 7.246 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1056, allocations: 0 / 0.8704 GB, free: 7.246 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000208/0.1058, allocations: 4 kB / 0.8704 GB, free: 7.242 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007933/0.1138, allocations: 5.297 MB / 0.8755 GB, free: 1.875 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1138, allocations: 12.03 kB / 0.8755 GB, free: 1.863 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.1191, allocations: 1.558 MB / 0.8771 GB, free: 308 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/0.1242, allocations: 2.97 MB / 0.88 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.1244, allocations: 345.7 kB / 0.8803 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006962/0.1251, allocations: 472.2 kB / 0.8807 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007904/0.133, allocations: 4.764 MB / 0.8854 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.1331, allocations: 32 kB / 0.8854 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/0.1336, allocations: 200.3 kB / 0.8856 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.1339, allocations: 312.8 kB / 0.8859 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004534/0.1384, allocations: 1.766 MB / 0.8876 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.16, allocations: 25.07 MB / 0.9121 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.1612, allocations: 0.7917 MB / 0.9129 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.1619, allocations: 0.507 MB / 0.9134 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.1619, allocations: 21.31 kB / 0.9134 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1619, allocations: 54.7 kB / 0.9135 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.596e-06/0.162, allocations: 0 / 0.9135 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.006663/0.1686, allocations: 3.749 MB / 0.9171 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1687, allocations: 64.72 kB / 0.9172 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1698, allocations: 1.327 MB / 0.9185 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.1698, allocations: 45.7 kB / 0.9185 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008642/0.1707, allocations: 2.119 MB / 0.9206 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.171, allocations: 0.5036 MB / 0.9211 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.1713, allocations: 353 kB / 0.9214 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.1714, allocations: 484.7 kB / 0.9219 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.1719, allocations: 323.8 kB / 0.9222 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/0.1727, allocations: 1.286 MB / 0.9234 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.1743, allocations: 1.779 MB / 0.9252 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.1743, allocations: 8 kB / 0.9252 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002849/0.1771, allocations: 2.179 MB / 0.9273 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1771, allocations: 16 kB / 0.9273 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1772, allocations: 20 kB / 0.9274 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.1787, allocations: 0.7027 MB / 0.928 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.1795, allocations: 351.4 kB / 0.9284 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.191, allocations: 23.79 MB / 0.9516 GB, free: 12 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.1921, allocations: 108 kB / 0.9517 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.1922, allocations: 84.47 kB / 0.9518 GB, free: 15.82 MB / 0.9167 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0009373/0.1931, allocations: 278.1 kB / 0.9521 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.1933, allocations: 250.7 kB / 0.9523 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.1955, allocations: 1.622 MB / 0.9539 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1955, allocations: 16 kB / 0.9539 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.1955, allocations: 8 kB / 0.9539 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1955, allocations: 7.969 kB / 0.9539 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/0.2014, allocations: 4.783 MB / 0.9586 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2014, allocations: 4 kB / 0.9586 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.2018, allocations: 175.7 kB / 0.9588 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.2031, allocations: 0.6443 MB / 0.9594 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.2032, allocations: 24 kB / 0.9594 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.215, allocations: 22.72 MB / 0.9816 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.215, allocations: 8 kB / 0.9816 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.2182, allocations: 1.874 MB / 0.9834 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.2189, allocations: 366.6 kB / 0.9838 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.2191, allocations: 28 kB / 0.9838 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.2196, allocations: 71.91 kB / 0.9839 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.22, allocations: 136.6 kB / 0.984 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.22, allocations: 36 kB / 0.984 GB, free: 12.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008828/0.2209, allocations: 0.7458 MB / 0.9848 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2209, allocations: 0 / 0.9848 GB, free: 12.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002651/0.2236, allocations: 0.793 MB / 0.9855 GB, free: 11.33 MB / 0.948 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002186/0.2238, allocations: 147 kB / 0.9857 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.2276, allocations: 3.53 MB / 0.9891 GB, free: 7.438 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2276, allocations: 0 / 0.9891 GB, free: 7.438 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.23, allocations: 2.838 MB / 0.9919 GB, free: 4.383 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.2323, allocations: 0.7208 MB / 0.9926 GB, free: 3.688 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.2427, allocations: 6.57 MB / 0.999 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.2439, allocations: 1.139 MB / 1 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001056/0.245, allocations: 373.2 kB / 1 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.2452, allocations: 108.5 kB / 1.001 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of SimCode: time 1.963e-06/0.2452, allocations: 4 kB / 1.001 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of Templates: time 0.0463/0.2915, allocations: 36.65 MB / 1.036 GB, free: 7.418 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.879487153841183]