Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009233/0.0009233, allocations: 92.22 kB / 19.65 MB, free: 276 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.000981/0.000981, allocations: 173 kB / 23.03 MB, free: 1.543 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.8974/0.8974, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.982/1.982, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] 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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.245e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01805/0.01807, allocations: 24.59 MB / 0.9022 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.02993, allocations: 7.545 MB / 0.9096 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.03262, allocations: 250.1 kB / 0.9098 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.03438, allocations: 1.035 MB / 0.9108 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.03795, allocations: 2.667 MB / 0.9134 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.04176, allocations: 2.636 MB / 0.916 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009298/0.05106, allocations: 11.5 MB / 0.9272 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008144/0.0592, allocations: 6.574 MB / 0.9337 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008127/0.06733, allocations: 6.881 MB / 0.9404 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.07364, allocations: 5.421 MB / 0.9457 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.0748, allocations: 0.9454 MB / 0.9466 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.07648, allocations: 1.047 MB / 0.9476 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00316/0.07964, allocations: 3.991 MB / 0.9515 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.08253, allocations: 3.049 MB / 0.9545 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.0893, allocations: 7.437 MB / 0.9617 GB, free: 408 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.08931, allocations: 0 / 0.9617 GB, free: 408 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.08931, allocations: 0 / 0.9617 GB, free: 408 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001403/0.08945, allocations: 0 / 0.9617 GB, free: 408 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01091/0.1004, allocations: 7.879 MB / 0.9694 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1004, allocations: 8.031 kB / 0.9694 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.1068, allocations: 2.278 MB / 0.9717 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.1111, allocations: 4.247 MB / 0.9758 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.1113, allocations: 456.5 kB / 0.9763 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006134/0.1119, allocations: 0.6135 MB / 0.9769 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007584/0.1195, allocations: 6.965 MB / 0.9837 GB, free: 9.074 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/0.1198, allocations: 28.02 kB / 0.9837 GB, free: 9.047 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004349/0.1203, allocations: 260.3 kB / 0.9839 GB, free: 8.793 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001395/0.1217, allocations: 0.7845 MB / 0.9847 GB, free: 8.004 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.1265, allocations: 2.69 MB / 0.9873 GB, free: 5.289 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.1518, allocations: 31.81 MB / 1.018 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.1542, allocations: 2.166 MB / 1.021 GB, free: 2.508 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.1561, allocations: 1.526 MB / 1.022 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.1563, allocations: 58.78 kB / 1.022 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.1563, allocations: 80.17 kB / 1.022 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=353): time 6.162e-06/0.1563, allocations: 3.984 kB / 1.022 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578): time 0.4532/0.6096, allocations: 34.5 MB / 1.056 GB, free: 164.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.6096, allocations: 110.8 kB / 1.056 GB, free: 164.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.6117, allocations: 2.237 MB / 1.058 GB, free: 164.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007845/0.6125, allocations: 125.5 kB / 1.058 GB, free: 164.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.6135, allocations: 2.825 MB / 1.061 GB, free: 163.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.6149, allocations: 2.093 MB / 1.063 GB, free: 162.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.6161, allocations: 0.9376 MB / 1.064 GB, free: 162.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.6161, allocations: 480.6 kB / 1.064 GB, free: 162.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.6182, allocations: 1.373 MB / 1.066 GB, free: 162.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.621, allocations: 2.671 MB / 1.068 GB, free: 161.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.6262, allocations: 4.686 MB / 1.073 GB, free: 159.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.6262, allocations: 5.688 kB / 1.073 GB, free: 159.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01743/0.6437, allocations: 9.386 MB / 1.082 GB, free: 158.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.6437, allocations: 14.94 kB / 1.082 GB, free: 158.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.6437, allocations: 22.66 kB / 1.082 GB, free: 158.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01973/0.6635, allocations: 7.415 MB / 1.089 GB, free: 158.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.6652, allocations: 0.5316 MB / 1.09 GB, free: 158.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05101/0.7162, allocations: 44.3 MB / 1.133 GB, free: 130.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/0.7197, allocations: 279.2 kB / 1.133 GB, free: 130.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.72, allocations: 191.5 kB / 1.134 GB, free: 130.2 MB / 1.01 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001892/0.7219, allocations: 438.4 kB / 1.134 GB, free: 129.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/0.7228, allocations: 0.6483 MB / 1.135 GB, free: 129.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.7404, allocations: 9.12 MB / 1.144 GB, free: 127.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/0.7405, allocations: 55.72 kB / 1.144 GB, free: 127.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001357/0.7406, allocations: 71 kB / 1.144 GB, free: 127.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.7406, allocations: 26.2 kB / 1.144 GB, free: 127.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/0.7638, allocations: 14.96 MB / 1.158 GB, free: 121.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7638, allocations: 9.953 kB / 1.158 GB, free: 121.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.7647, allocations: 318.7 kB / 1.159 GB, free: 121.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01598/0.7807, allocations: 7.028 MB / 1.165 GB, free: 120.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/0.781, allocations: 109.2 kB / 1.166 GB, free: 120.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03765/0.8187, allocations: 44.05 MB / 1.209 GB, free: 77.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.8187, allocations: 11.84 kB / 1.209 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.8354, allocations: 10.25 MB / 1.219 GB, free: 67.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.8369, allocations: 1.208 MB / 1.22 GB, free: 65.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.8374, allocations: 108 kB / 1.22 GB, free: 65.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.8388, allocations: 283.6 kB / 1.22 GB, free: 65.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/0.8401, allocations: 0.5524 MB / 1.221 GB, free: 64.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.8403, allocations: 147.9 kB / 1.221 GB, free: 64.85 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001028/0.8414, allocations: 1.27 MB / 1.222 GB, free: 63.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8414, allocations: 0 / 1.222 GB, free: 63.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00472/0.8461, allocations: 2.469 MB / 1.225 GB, free: 61.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004298/0.8465, allocations: 238.2 kB / 1.225 GB, free: 60.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.8574, allocations: 9.577 MB / 1.234 GB, free: 51.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8574, allocations: 4 kB / 1.234 GB, free: 51.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/0.8647, allocations: 7.504 MB / 1.241 GB, free: 43.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.8673, allocations: 1.278 MB / 1.243 GB, free: 42.22 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8801, allocations: 12.92 MB / 1.255 GB, free: 29.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.8818, allocations: 2.163 MB / 1.257 GB, free: 26.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001112/0.8829, allocations: 0.6103 MB / 1.258 GB, free: 26.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.8832, allocations: 192.5 kB / 1.258 GB, free: 26.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.533e-06/0.8832, allocations: 4 kB / 1.258 GB, free: 26.11 MB / 1.01 GB Notification: Performance of Templates: time 0.1533/1.037, allocations: 159.4 MB / 1.414 GB, free: 12.55 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 8.290597404818982]