Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009292/0.0009292, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009703/0.0009703, allocations: 185 kB / 24.09 MB, free: 416 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.947/0.947, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.533e-05, allocations: 6.25 kB / 0.812 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008148/0.008174, allocations: 6.531 MB / 0.8184 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004596/0.01277, allocations: 2.211 MB / 0.8206 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.01337, allocations: 47.62 kB / 0.8206 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000686/0.01405, allocations: 270.2 kB / 0.8209 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01513, allocations: 0.7068 MB / 0.8216 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.01625, allocations: 0.6556 MB / 0.8222 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.0192, allocations: 3.004 MB / 0.8251 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.0212, allocations: 1.423 MB / 0.8265 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.0237, allocations: 1.728 MB / 0.8282 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.02581, allocations: 1.633 MB / 0.8298 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005561/0.02637, allocations: 238.8 kB / 0.83 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.0271, allocations: 331.8 kB / 0.8303 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.02821, allocations: 1.165 MB / 0.8315 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.0293, allocations: 0.7797 MB / 0.8322 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.03138, allocations: 2.143 MB / 0.8343 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.03138, allocations: 0 / 0.8343 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.252e-06/0.03138, allocations: 0 / 0.8343 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.759e-05/0.03146, allocations: 0 / 0.8343 GB, free: 10.47 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002744/0.0342, allocations: 2.265 MB / 0.8366 GB, free: 8.16 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.03424, allocations: 13.16 kB / 0.8366 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.03832, allocations: 1.284 MB / 0.8378 GB, free: 6.871 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.03981, allocations: 1.047 MB / 0.8388 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.03987, allocations: 111.4 kB / 0.8389 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.04007, allocations: 148.3 kB / 0.8391 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.0419, allocations: 1.654 MB / 0.8407 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.04193, allocations: 8.125 kB / 0.8407 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.04205, allocations: 64.34 kB / 0.8408 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.04221, allocations: 211.1 kB / 0.841 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.04324, allocations: 0.6581 MB / 0.8416 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007233/0.05047, allocations: 8.272 MB / 0.8497 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.0512, allocations: 0.5509 MB / 0.8502 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.05167, allocations: 398.2 kB / 0.8506 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.696e-05/0.05174, allocations: 24.94 kB / 0.8506 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.05177, allocations: 46.39 kB / 0.8507 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 3.336e-06/0.05177, allocations: 0 / 0.8507 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.01618/0.06795, allocations: 8.211 MB / 0.8587 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.06799, allocations: 73.34 kB / 0.8588 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009212/0.06891, allocations: 0.8734 MB / 0.8596 GB, free: 80 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.06904, allocations: 53.7 kB / 0.8597 GB, free: 20 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.06943, allocations: 0.8743 MB / 0.8605 GB, free: 15.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/0.06985, allocations: 0.6857 MB / 0.8612 GB, free: 14.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.07029, allocations: 361 kB / 0.8615 GB, free: 14.08 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.07039, allocations: 476.8 kB / 0.862 GB, free: 13.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.0709, allocations: 355.7 kB / 0.8623 GB, free: 13.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.07164, allocations: 0.8676 MB / 0.8632 GB, free: 12.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.07299, allocations: 1.338 MB / 0.8645 GB, free: 10.72 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.073, allocations: 4 kB / 0.8645 GB, free: 10.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007894/0.08089, allocations: 4.126 MB / 0.8685 GB, free: 6.562 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.08092, allocations: 8 kB / 0.8685 GB, free: 6.555 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.08094, allocations: 8 kB / 0.8685 GB, free: 6.547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008334/0.08927, allocations: 3.237 MB / 0.8717 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.0898, allocations: 183.7 kB / 0.8719 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02945/0.1193, allocations: 17.86 MB / 0.8893 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.1203, allocations: 55.94 kB / 0.8894 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.1204, allocations: 52 kB / 0.8894 GB, free: 0.6953 MB / 0.8386 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.0005098/0.1209, allocations: 248.2 kB / 0.8897 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.1212, allocations: 211 kB / 0.8899 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007248/0.1285, allocations: 4.146 MB / 0.8939 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.1285, allocations: 20 kB / 0.8939 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/0.1285, allocations: 28 kB / 0.894 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.1285, allocations: 7.969 kB / 0.894 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.1386, allocations: 6.125 MB / 0.8999 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.1386, allocations: 4 kB / 0.8999 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.1389, allocations: 103.9 kB / 0.9 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007724/0.1466, allocations: 3.127 MB / 0.9031 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.1468, allocations: 35.98 kB / 0.9031 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.1654, allocations: 16.55 MB / 0.9193 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1655, allocations: 4 kB / 0.9193 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007615/0.1731, allocations: 4.125 MB / 0.9233 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/0.1738, allocations: 410.8 kB / 0.9237 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.174, allocations: 36 kB / 0.9238 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.1746, allocations: 35.94 kB / 0.9238 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/0.1751, allocations: 169.6 kB / 0.9239 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.1752, allocations: 36 kB / 0.924 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003859/0.1756, allocations: 0.4952 MB / 0.9245 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 4 kB / 0.9245 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002255/0.1779, allocations: 1.008 MB / 0.9255 GB, free: 11.02 MB / 0.8855 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.0002392/0.1781, allocations: 148.9 kB / 0.9256 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003912/0.182, allocations: 3.033 MB / 0.9286 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.182, allocations: 0 / 0.9286 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/0.1855, allocations: 2.571 MB / 0.9311 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1865, allocations: 241.2 kB / 0.9313 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.1921, allocations: 3.996 MB / 0.9352 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.1929, allocations: 0.6428 MB / 0.9358 GB, free: 124 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.1932, allocations: 107.5 kB / 0.9359 GB, free: 12 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.1936, allocations: 246.1 kB / 0.9362 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/0.1936, allocations: 0 / 0.9362 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.06731/0.2609, allocations: 67.04 MB / 1.002 GB, free: 12.99 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.769049752969295]