Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001051/0.001051, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001/0.001, allocations: 169 kB / 23.02 MB, free: 1.551 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.9402/0.9402, allocations: 177.1 MB / 203.4 MB, free: 5.66 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 1.91/1.91, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 178] 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.464e-05, allocations: 5.859 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01507/0.01509, allocations: 20.06 MB / 0.8978 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00914/0.02423, allocations: 5.594 MB / 0.9032 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.02622, allocations: 190.6 kB / 0.9034 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.02774, allocations: 0.8338 MB / 0.9042 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.03036, allocations: 1.868 MB / 0.9061 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.03275, allocations: 1.634 MB / 0.9077 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006739/0.03949, allocations: 8.016 MB / 0.9155 GB, free: 20 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007459/0.04695, allocations: 5.214 MB / 0.9206 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/0.05381, allocations: 4.866 MB / 0.9253 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.05839, allocations: 3.753 MB / 0.929 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.05959, allocations: 0.6758 MB / 0.9297 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.0613, allocations: 0.7654 MB / 0.9304 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002484/0.06378, allocations: 2.83 MB / 0.9332 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.06617, allocations: 2.179 MB / 0.9353 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.07077, allocations: 5.321 MB / 0.9405 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.07078, allocations: 0 / 0.9405 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.733e-06/0.07078, allocations: 0 / 0.9405 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001382/0.07092, allocations: 3.938 kB / 0.9405 GB, free: 6.242 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005744/0.07666, allocations: 5.635 MB / 0.946 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.07671, allocations: 8.031 kB / 0.946 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.07907, allocations: 1.437 MB / 0.9474 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.08214, allocations: 3.046 MB / 0.9504 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.0823, allocations: 361.9 kB / 0.9507 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.08273, allocations: 480.3 kB / 0.9512 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005725/0.08845, allocations: 5.39 MB / 0.9564 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.602e-05/0.08853, allocations: 27.95 kB / 0.9565 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.08881, allocations: 212.3 kB / 0.9567 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003091/0.08912, allocations: 369 kB / 0.957 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.09228, allocations: 1.845 MB / 0.9588 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.1115, allocations: 26.24 MB / 0.9845 GB, free: 7.605 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.1129, allocations: 0.8866 MB / 0.9853 GB, free: 6.703 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.1136, allocations: 0.6143 MB / 0.9859 GB, free: 6.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.1136, allocations: 25.31 kB / 0.9859 GB, free: 6.066 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1137, allocations: 62.64 kB / 0.986 GB, free: 5.992 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 3.817e-06/0.1137, allocations: 0 / 0.986 GB, free: 5.992 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.006673/0.1204, allocations: 3.882 MB / 0.9898 GB, free: 2.055 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1204, allocations: 72.72 kB / 0.9899 GB, free: 1.969 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.1218, allocations: 1.585 MB / 0.9914 GB, free: 348 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.1219, allocations: 53.7 kB / 0.9915 GB, free: 288 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009726/0.1228, allocations: 2.246 MB / 0.9937 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/0.1232, allocations: 0.5887 MB / 0.9942 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.1236, allocations: 409.9 kB / 0.9946 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000336/0.1239, allocations: 480.8 kB / 0.9951 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.1245, allocations: 372.2 kB / 0.9954 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009506/0.1254, allocations: 1.371 MB / 0.9968 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.1271, allocations: 1.922 MB / 0.9986 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.1271, allocations: 8 kB / 0.9987 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002973/0.1301, allocations: 2.374 MB / 1.001 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1301, allocations: 16 kB / 1.001 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.1301, allocations: 20 kB / 1.001 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.1319, allocations: 0.7383 MB / 1.002 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.1328, allocations: 427.2 kB / 1.002 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.1443, allocations: 23.09 MB / 1.025 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.1457, allocations: 123.9 kB / 1.025 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.1458, allocations: 96.06 kB / 1.025 GB, free: 11.56 MB / 0.9948 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.0009295/0.1467, allocations: 296 kB / 1.025 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.147, allocations: 302.4 kB / 1.025 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.1492, allocations: 1.724 MB / 1.027 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1492, allocations: 16 kB / 1.027 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.1493, allocations: 8 kB / 1.027 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1493, allocations: 11.97 kB / 1.027 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/0.1557, allocations: 5.02 MB / 1.032 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1557, allocations: 8.031 kB / 1.032 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.1562, allocations: 219.6 kB / 1.032 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.1577, allocations: 0.6909 MB / 1.033 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.1577, allocations: 32 kB / 1.033 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4005/0.5582, allocations: 23.05 MB / 1.056 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5582, allocations: 9.594 kB / 1.056 GB, free: 165.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.5607, allocations: 2.009 MB / 1.057 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.5613, allocations: 429 kB / 1.058 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5615, allocations: 33.47 kB / 1.058 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.562, allocations: 93.53 kB / 1.058 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.5622, allocations: 148.1 kB / 1.058 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.5623, allocations: 48.62 kB / 1.058 GB, free: 164.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006986/0.563, allocations: 0.8925 MB / 1.059 GB, free: 164.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.61e-07/0.563, allocations: 0 / 1.059 GB, free: 164.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001774/0.5648, allocations: 0.9057 MB / 1.06 GB, free: 164.7 MB / 1.01 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.565, allocations: 159 kB / 1.06 GB, free: 164.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.5677, allocations: 3.728 MB / 1.064 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5677, allocations: 5.781 kB / 1.064 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.5693, allocations: 2.996 MB / 1.067 GB, free: 160.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.571, allocations: 0.7621 MB / 1.067 GB, free: 160.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/0.5787, allocations: 7.009 MB / 1.074 GB, free: 157.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.5797, allocations: 1.173 MB / 1.075 GB, free: 157.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009878/0.5807, allocations: 438.6 kB / 1.076 GB, free: 157.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.581, allocations: 132.9 kB / 1.076 GB, free: 157.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/0.581, allocations: 0 / 1.076 GB, free: 157.2 MB / 1.01 GB Notification: Performance of Templates: time 0.0571/0.6381, allocations: 44.67 MB / 1.12 GB, free: 150.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.387602691072971]