Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001243/0.001243, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001509/0.001509, allocations: 168.2 kB / 24.86 MB, free: 8.883 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.9027/0.9027, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.708/1.708, allocations: 359 MB / 0.6063 GB, free: 10.91 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.513e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005474/0.005489, allocations: 6.555 MB / 0.7947 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.008065, allocations: 2.192 MB / 0.7969 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.008367, allocations: 47.69 kB / 0.7969 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.008908, allocations: 266.1 kB / 0.7972 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000718/0.009626, allocations: 0.7095 MB / 0.7979 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.01031, allocations: 0.6575 MB / 0.7985 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.01243, allocations: 3.011 MB / 0.8014 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.01357, allocations: 1.412 MB / 0.8028 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.0148, allocations: 1.732 MB / 0.8045 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.01637, allocations: 1.634 MB / 0.8061 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.01657, allocations: 236 kB / 0.8063 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.01695, allocations: 335.8 kB / 0.8067 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.0176, allocations: 1.159 MB / 0.8078 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.01816, allocations: 0.7913 MB / 0.8086 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.01952, allocations: 2.139 MB / 0.8106 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01952, allocations: 0 / 0.8106 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01952, allocations: 3.062 kB / 0.8106 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.01954, allocations: 0 / 0.8106 GB, free: 5.285 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00212/0.02166, allocations: 2.259 MB / 0.8129 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.02169, allocations: 8.688 kB / 0.8129 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/0.02597, allocations: 1.288 MB / 0.8141 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.02695, allocations: 1.043 MB / 0.8151 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.02701, allocations: 111.4 kB / 0.8152 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.0272, allocations: 152.3 kB / 0.8154 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.02882, allocations: 1.658 MB / 0.817 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.02885, allocations: 192 / 0.817 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.02899, allocations: 68.34 kB / 0.8171 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.02914, allocations: 214.9 kB / 0.8173 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.03012, allocations: 0.6659 MB / 0.8179 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.03683, allocations: 8.272 MB / 0.826 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.03752, allocations: 0.5565 MB / 0.8265 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.038, allocations: 398.3 kB / 0.8269 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.03806, allocations: 17 kB / 0.8269 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.03809, allocations: 50.33 kB / 0.827 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/0.0381, allocations: 0 / 0.827 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=183): time 0.01642/0.05452, allocations: 8.211 MB / 0.835 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.05456, allocations: 81.28 kB / 0.8351 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.05516, allocations: 0.8695 MB / 0.8359 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.05526, allocations: 57.7 kB / 0.836 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.05565, allocations: 0.8782 MB / 0.8369 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.05604, allocations: 0.6779 MB / 0.8375 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.0565, allocations: 369 kB / 0.8379 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.05659, allocations: 476.8 kB / 0.8383 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.05711, allocations: 355.7 kB / 0.8387 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/0.05788, allocations: 0.86 MB / 0.8395 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.05925, allocations: 1.334 MB / 0.8408 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.05925, allocations: 4 kB / 0.8408 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007854/0.06711, allocations: 4.122 MB / 0.8448 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.06713, allocations: 9.719 kB / 0.8448 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.06714, allocations: 8 kB / 0.8448 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008127/0.07527, allocations: 3.238 MB / 0.848 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.07566, allocations: 179.7 kB / 0.8482 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/0.0999, allocations: 17.84 MB / 0.8656 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.101, allocations: 51.94 kB / 0.8657 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.1011, allocations: 52 kB / 0.8657 GB, free: 11.54 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005728/0.1017, allocations: 260.2 kB / 0.866 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.1021, allocations: 195.1 kB / 0.8661 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.1125, allocations: 4.154 MB / 0.8702 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1125, allocations: 16 kB / 0.8702 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/0.1125, allocations: 32 kB / 0.8702 GB, free: 6.844 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.1125, allocations: 15.91 kB / 0.8703 GB, free: 6.828 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.1259, allocations: 6.121 MB / 0.8762 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.1259, allocations: 4 kB / 0.8762 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1262, allocations: 107.8 kB / 0.8763 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/0.1368, allocations: 3.116 MB / 0.8794 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.137, allocations: 40 kB / 0.8794 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.1572, allocations: 16.5 MB / 0.8955 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1572, allocations: 11.94 kB / 0.8955 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007759/0.1649, allocations: 4.117 MB / 0.8996 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.1655, allocations: 418.8 kB / 0.9 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.1656, allocations: 32 kB / 0.9 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.1662, allocations: 39.94 kB / 0.9 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/0.1666, allocations: 165.6 kB / 0.9002 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.1667, allocations: 36 kB / 0.9002 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003291/0.167, allocations: 0.5069 MB / 0.9007 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.167, allocations: 3.938 kB / 0.9007 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001888/0.1689, allocations: 1.004 MB / 0.9017 GB, free: 5.902 MB / 0.8542 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.1691, allocations: 147 kB / 0.9018 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003697/0.1728, allocations: 3.037 MB / 0.9048 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1728, allocations: 0 / 0.9048 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003035/0.1758, allocations: 2.561 MB / 0.9073 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1766, allocations: 238.7 kB / 0.9075 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.1807, allocations: 4.01 MB / 0.9115 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.1812, allocations: 0.6389 MB / 0.9121 GB, free: 11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000226/0.1814, allocations: 107.5 kB / 0.9122 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.1817, allocations: 238.1 kB / 0.9124 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of SimCode: time 8.62e-07/0.1817, allocations: 0 / 0.9124 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.05753/0.2392, allocations: 68.15 MB / 0.979 GB, free: 6.395 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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: 5.599559596739709]