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.001231/0.001231, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.001488/0.001488, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.143/1.143, allocations: 177.1 MB / 203.8 MB, free: 5.656 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 2.178/2.178, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.823e-06/1.823e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.783e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0468/0.04683, allocations: 41.58 MB / 0.9188 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.06582, allocations: 15.51 MB / 0.934 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.06965, allocations: 250.1 kB / 0.9342 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0069/0.07655, allocations: 4.612 MB / 0.9387 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.08332, allocations: 3.013 MB / 0.9417 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.006363/0.08968, allocations: 3.211 MB / 0.9448 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.1015, allocations: 11.65 MB / 0.9562 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.1117, allocations: 6.769 MB / 0.9628 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.1228, allocations: 6.934 MB / 0.9696 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007697/0.1305, allocations: 5.386 MB / 0.9748 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.133, allocations: 0.9492 MB / 0.9757 GB, free: 2.406 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.1374, allocations: 1.934 MB / 0.9776 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004953/0.1423, allocations: 4.003 MB / 0.9815 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.006401/0.1488, allocations: 3.064 MB / 0.9845 GB, free: 9.387 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.1608, allocations: 7.986 MB / 0.9923 GB, free: 1.379 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1608, allocations: 4 kB / 0.9923 GB, free: 1.375 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1608, allocations: 0 / 0.9923 GB, free: 1.375 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003702/0.1612, allocations: 0 / 0.9923 GB, free: 1.375 MB / 0.948 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.01339/0.1746, allocations: 8.003 MB / 1 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1746, allocations: 12.03 kB / 1 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00782/0.1825, allocations: 2.364 MB / 1.002 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.1898, allocations: 4.31 MB / 1.007 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.1901, allocations: 456.5 kB / 1.007 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.1916, allocations: 0.6057 MB / 1.008 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.2024, allocations: 6.969 MB / 1.015 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.2026, allocations: 39.89 kB / 1.015 GB, free: 9.734 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005776/0.2032, allocations: 264.3 kB / 1.015 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.2047, allocations: 0.7807 MB / 1.016 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006536/0.2112, allocations: 2.69 MB / 1.018 GB, free: 5.977 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03299/0.2442, allocations: 31.79 MB / 1.049 GB, free: 5.395 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.2471, allocations: 2.174 MB / 1.051 GB, free: 3.211 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.2493, allocations: 1.529 MB / 1.053 GB, free: 1.676 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.2495, allocations: 58.78 kB / 1.053 GB, free: 1.617 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.2495, allocations: 84.11 kB / 1.053 GB, free: 1.523 MB / 1.01 GB Notification: Performance of pre-optimization done (n=353): time 5.39e-06/0.2496, allocations: 0 / 1.053 GB, free: 1.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=578): time 0.5004/0.7499, allocations: 34.49 MB / 1.087 GB, free: 195.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.75, allocations: 112 kB / 1.087 GB, free: 195.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.7529, allocations: 2.232 MB / 1.089 GB, free: 194.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007452/0.7537, allocations: 122.5 kB / 1.089 GB, free: 194.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.755, allocations: 2.83 MB / 1.092 GB, free: 192.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.7568, allocations: 2.09 MB / 1.094 GB, free: 191.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.7582, allocations: 0.9423 MB / 1.095 GB, free: 190.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.7583, allocations: 482.5 kB / 1.095 GB, free: 190.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.7608, allocations: 1.373 MB / 1.097 GB, free: 190.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/0.764, allocations: 2.667 MB / 1.099 GB, free: 188.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.7701, allocations: 4.687 MB / 1.104 GB, free: 186.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.7702, allocations: 10.5 kB / 1.104 GB, free: 186.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01995/0.7901, allocations: 9.385 MB / 1.113 GB, free: 183.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.7901, allocations: 15.75 kB / 1.113 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.7902, allocations: 22.97 kB / 1.113 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/0.8093, allocations: 7.416 MB / 1.12 GB, free: 182.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.8108, allocations: 0.5224 MB / 1.121 GB, free: 182.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04109/0.8519, allocations: 44.3 MB / 1.164 GB, free: 142.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.8553, allocations: 279.7 kB / 1.164 GB, free: 142.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/0.8557, allocations: 188 kB / 1.164 GB, free: 142.5 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.001943/0.8577, allocations: 447.8 kB / 1.165 GB, free: 142 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.8587, allocations: 0.6431 MB / 1.166 GB, free: 141.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.8739, allocations: 9.113 MB / 1.174 GB, free: 132.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.8739, allocations: 62.94 kB / 1.174 GB, free: 132 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001349/0.8741, allocations: 75.94 kB / 1.175 GB, free: 132 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/0.8741, allocations: 27.89 kB / 1.175 GB, free: 131.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/0.8983, allocations: 14.95 MB / 1.189 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.8983, allocations: 8 kB / 1.189 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.8993, allocations: 319.6 kB / 1.189 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01625/0.9155, allocations: 7.028 MB / 1.196 GB, free: 109.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006397/0.9161, allocations: 115.9 kB / 1.196 GB, free: 109.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03797/0.9541, allocations: 44.06 MB / 1.239 GB, free: 63.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9541, allocations: 11.94 kB / 1.239 GB, free: 63.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.9713, allocations: 10.24 MB / 1.249 GB, free: 53.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/0.9735, allocations: 1.208 MB / 1.251 GB, free: 52.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/0.974, allocations: 107.9 kB / 1.251 GB, free: 51.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.9757, allocations: 287.6 kB / 1.251 GB, free: 51.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/0.9774, allocations: 0.5605 MB / 1.252 GB, free: 51.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/0.9776, allocations: 140 kB / 1.252 GB, free: 50.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001147/0.9788, allocations: 1.266 MB / 1.253 GB, free: 49.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9788, allocations: 0 / 1.253 GB, free: 49.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005865/0.9846, allocations: 2.473 MB / 1.255 GB, free: 47.2 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.0004326/0.9851, allocations: 244.2 kB / 1.256 GB, free: 46.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.9966, allocations: 9.575 MB / 1.265 GB, free: 37.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.9966, allocations: 11.92 kB / 1.265 GB, free: 37.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008171/1.005, allocations: 7.496 MB / 1.272 GB, free: 29.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.008, allocations: 1.287 MB / 1.274 GB, free: 28.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.027, allocations: 12.9 MB / 1.286 GB, free: 15.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/1.03, allocations: 2.163 MB / 1.288 GB, free: 12.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00214/1.032, allocations: 0.6142 MB / 1.289 GB, free: 12.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/1.032, allocations: 192.4 kB / 1.289 GB, free: 12.04 MB / 1.01 GB Notification: Performance of SimCode: time 2.484e-06/1.032, allocations: 0 / 1.289 GB, free: 12.04 MB / 1.01 GB Notification: Performance of Templates: time 0.1664/1.199, allocations: 155.6 MB / 1.441 GB, free: 2.234 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: 9.358041767962277]