Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001362/0.001362, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001417/0.001417, allocations: 161 kB / 24.16 MB, free: 336 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 0.9689/0.9689, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.286e-05, allocations: 2.312 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01532/0.01534, allocations: 19.85 MB / 0.7794 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.02786, allocations: 10.27 MB / 0.7895 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.02974, allocations: 214.4 kB / 0.7897 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.0313, allocations: 0.8675 MB / 0.7905 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.03536, allocations: 2.833 MB / 0.7933 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.03794, allocations: 1.875 MB / 0.7951 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007019/0.04495, allocations: 8.92 MB / 0.8038 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.04977, allocations: 5.699 MB / 0.8094 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.05558, allocations: 5.696 MB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.05911, allocations: 3.802 MB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007459/0.05986, allocations: 0.707 MB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.06086, allocations: 0.8131 MB / 0.8201 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.06268, allocations: 3.04 MB / 0.8231 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.06494, allocations: 2.374 MB / 0.8254 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.06902, allocations: 5.723 MB / 0.831 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06902, allocations: 0 / 0.831 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.022e-06/0.06902, allocations: 3.938 kB / 0.831 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.523e-05/0.06909, allocations: 0.7812 kB / 0.831 GB, free: 13.68 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.005198/0.07429, allocations: 5.63 MB / 0.8365 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.07432, allocations: 12.03 kB / 0.8365 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.07775, allocations: 1.506 MB / 0.838 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.08069, allocations: 2.697 MB / 0.8406 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.08087, allocations: 378.3 kB / 0.841 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.0814, allocations: 0.497 MB / 0.8415 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.08597, allocations: 4.873 MB / 0.8462 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.662e-05/0.08606, allocations: 34.14 kB / 0.8463 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.08639, allocations: 216 kB / 0.8465 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004383/0.08683, allocations: 369.6 kB / 0.8468 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.08865, allocations: 1.301 MB / 0.8481 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.1045, allocations: 16.58 MB / 0.8643 GB, free: 10.58 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1055, allocations: 0.8003 MB / 0.8651 GB, free: 9.777 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008434/0.1063, allocations: 0.6085 MB / 0.8657 GB, free: 9.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.664e-05/0.1064, allocations: 30 kB / 0.8657 GB, free: 9.137 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.1067, allocations: 56.56 kB / 0.8658 GB, free: 9.074 MB / 0.823 GB Notification: Performance of pre-optimization done (n=171): time 4.098e-06/0.1067, allocations: 0 / 0.8658 GB, free: 9.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.0158/0.1225, allocations: 6.573 MB / 0.8722 GB, free: 2.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1226, allocations: 73.41 kB / 0.8722 GB, free: 2.395 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.1242, allocations: 1.686 MB / 0.8739 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.1243, allocations: 57.7 kB / 0.8739 GB, free: 0.625 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000954/0.1253, allocations: 1.991 MB / 0.8759 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.1257, allocations: 0.6196 MB / 0.8765 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.1262, allocations: 363.7 kB / 0.8768 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.1263, allocations: 305.1 kB / 0.8771 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.1297, allocations: 260.2 kB / 0.8774 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.1305, allocations: 0.8249 MB / 0.8782 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.1322, allocations: 1.317 MB / 0.8795 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.1322, allocations: 8 kB / 0.8795 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009424/0.1416, allocations: 1.998 MB / 0.8814 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1417, allocations: 15.94 kB / 0.8814 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.1417, allocations: 16 kB / 0.8815 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/0.148, allocations: 1.202 MB / 0.8826 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/0.1489, allocations: 339.5 kB / 0.883 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.1612, allocations: 7.625 MB / 0.8904 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.162, allocations: 64 kB / 0.8905 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.1621, allocations: 67.98 kB / 0.8905 GB, free: 14.79 MB / 0.8542 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007984/0.1629, allocations: 240.1 kB / 0.8908 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.1631, allocations: 235.7 kB / 0.891 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.1654, allocations: 1.763 MB / 0.8927 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1654, allocations: 23.94 kB / 0.8927 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1654, allocations: 12 kB / 0.8927 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1654, allocations: 15.91 kB / 0.8928 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.1706, allocations: 3.618 MB / 0.8963 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1706, allocations: 4 kB / 0.8963 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.171, allocations: 167.7 kB / 0.8965 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.1734, allocations: 1.174 MB / 0.8976 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.1735, allocations: 31.94 kB / 0.8976 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008334/0.1818, allocations: 7.617 MB / 0.9051 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1818, allocations: 7.938 kB / 0.9051 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.1841, allocations: 1.875 MB / 0.9069 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.1847, allocations: 378 kB / 0.9073 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.1849, allocations: 35.94 kB / 0.9073 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.1854, allocations: 40 kB / 0.9073 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/0.186, allocations: 153 kB / 0.9075 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.1861, allocations: 39.98 kB / 0.9075 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006438/0.1867, allocations: 0.8507 MB / 0.9084 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1867, allocations: 0 / 0.9084 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001999/0.1887, allocations: 1.062 MB / 0.9094 GB, free: 10.95 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.1889, allocations: 128.2 kB / 0.9095 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.1912, allocations: 2.153 MB / 0.9116 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.96e-05/0.1913, allocations: 31.75 kB / 0.9116 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.1928, allocations: 1.569 MB / 0.9132 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.1946, allocations: 0.9848 MB / 0.9141 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.2033, allocations: 7.974 MB / 0.9219 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009795/0.2043, allocations: 1.246 MB / 0.9231 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007683/0.2051, allocations: 323.1 kB / 0.9235 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.2063, allocations: 0.7372 MB / 0.9242 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of SimCode: time 1.543e-06/0.2063, allocations: 4 kB / 0.9242 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of Templates: time 0.0644/0.2707, allocations: 55.63 MB / 0.9785 GB, free: 5.215 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 6.140495331026614]