Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0007966/0.0007966, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008219/0.0008219, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8703/0.8703, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.751/1.751, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.934e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01477/0.01479, allocations: 21.14 MB / 1.022 GB, free: 7.762 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.02154, allocations: 6.123 MB / 1.028 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006909/0.02224, allocations: 131 kB / 1.028 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.02419, allocations: 1.562 MB / 1.029 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.026, allocations: 1.772 MB / 1.031 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.02751, allocations: 1.358 MB / 1.032 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003487/0.031, allocations: 6.048 MB / 1.038 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.03363, allocations: 3.198 MB / 1.041 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.03615, allocations: 3.438 MB / 1.045 GB, free: 0 / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4113/0.4474, allocations: 2.772 MB / 1.047 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005449/0.448, allocations: 456.7 kB / 1.048 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4492, allocations: 1.053 MB / 1.049 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009423/0.4501, allocations: 2.194 MB / 1.051 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.451, allocations: 1.497 MB / 1.052 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.4549, allocations: 7.429 MB / 1.06 GB, free: 55.15 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4549, allocations: 4.375 kB / 1.06 GB, free: 55.15 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4549, allocations: 0 / 1.06 GB, free: 55.15 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.118e-05/0.455, allocations: 0 / 1.06 GB, free: 55.15 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004362/0.4594, allocations: 3.799 MB / 1.063 GB, free: 53.58 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4594, allocations: 9.188 kB / 1.063 GB, free: 53.58 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.4624, allocations: 1.24 MB / 1.065 GB, free: 53.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.4648, allocations: 2.302 MB / 1.067 GB, free: 52.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/0.4649, allocations: 246.1 kB / 1.067 GB, free: 52.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.4652, allocations: 314.1 kB / 1.067 GB, free: 52.85 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.4703, allocations: 6.442 MB / 1.074 GB, free: 50.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/0.4704, allocations: 17.66 kB / 1.074 GB, free: 50.24 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.4706, allocations: 138.9 kB / 1.074 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004612/0.4711, allocations: 404.6 kB / 1.074 GB, free: 50.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004776/0.4759, allocations: 4.658 MB / 1.079 GB, free: 48.59 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.4893, allocations: 18.05 MB / 1.096 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4906, allocations: 1.365 MB / 1.098 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4918, allocations: 1.437 MB / 1.099 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.4919, allocations: 12.56 kB / 1.099 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4919, allocations: 46.86 kB / 1.099 GB, free: 36.23 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.085e-06/0.4919, allocations: 0 / 1.099 GB, free: 36.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.07054/0.5625, allocations: 37.07 MB / 1.135 GB, free: 29.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5625, allocations: 69.56 kB / 1.135 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5635, allocations: 1.358 MB / 1.137 GB, free: 28.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5636, allocations: 52.36 kB / 1.137 GB, free: 28.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.564, allocations: 1.583 MB / 1.138 GB, free: 26.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.5643, allocations: 0.636 MB / 1.139 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.5646, allocations: 376.6 kB / 1.139 GB, free: 26.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.076e-05/0.5647, allocations: 304 kB / 1.14 GB, free: 25.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.5661, allocations: 1.788 MB / 1.141 GB, free: 24.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.5676, allocations: 2.352 MB / 1.144 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.5707, allocations: 4.386 MB / 1.148 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5707, allocations: 4.656 kB / 1.148 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008751/0.5794, allocations: 8.43 MB / 1.156 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5794, allocations: 12 kB / 1.156 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5795, allocations: 18.27 kB / 1.156 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006938/0.5864, allocations: 4.613 MB / 1.161 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.5869, allocations: 308.8 kB / 1.161 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02673/0.6137, allocations: 31.42 MB / 1.192 GB, free: 10.45 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.615, allocations: 159.4 kB / 1.192 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.6151, allocations: 80 kB / 1.192 GB, free: 10.22 MB / 1.026 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001871/0.617, allocations: 1.326 MB / 1.193 GB, free: 8.902 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.6172, allocations: 202.7 kB / 1.193 GB, free: 8.703 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.6277, allocations: 8.284 MB / 1.202 GB, free: 492 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6277, allocations: 24 kB / 1.202 GB, free: 468 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.6277, allocations: 28 kB / 1.202 GB, free: 440 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6278, allocations: 7.969 kB / 1.202 GB, free: 432 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.642, allocations: 11.64 MB / 1.213 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.642, allocations: 4 kB / 1.213 GB, free: 4.812 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.6423, allocations: 165.5 kB / 1.213 GB, free: 4.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007755/0.6501, allocations: 4.465 MB / 1.217 GB, free: 192 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.6502, allocations: 32 kB / 1.217 GB, free: 160 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.6776, allocations: 31.05 MB / 1.248 GB, free: 0.6016 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6776, allocations: 14.75 kB / 1.248 GB, free: 0.5938 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009841/0.6874, allocations: 8.077 MB / 1.256 GB, free: 8.426 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/0.6883, allocations: 0.5476 MB / 1.256 GB, free: 7.879 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.6885, allocations: 39.98 kB / 1.256 GB, free: 7.84 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.6892, allocations: 131.8 kB / 1.256 GB, free: 7.711 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/0.6897, allocations: 180.8 kB / 1.257 GB, free: 7.535 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.6898, allocations: 48.38 kB / 1.257 GB, free: 7.488 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0007987/0.6906, allocations: 0.9015 MB / 1.258 GB, free: 6.59 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-08/0.6906, allocations: 4 kB / 1.258 GB, free: 6.586 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002252/0.6928, allocations: 1.117 MB / 1.259 GB, free: 5.469 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.6931, allocations: 139.1 kB / 1.259 GB, free: 5.32 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.007/0.7001, allocations: 6.29 MB / 1.265 GB, free: 15.01 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7001, allocations: 0 / 1.265 GB, free: 15.01 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.7046, allocations: 4.187 MB / 1.269 GB, free: 10.75 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.706, allocations: 0.5018 MB / 1.269 GB, free: 10.26 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.7139, allocations: 7.488 MB / 1.277 GB, free: 2.676 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/0.7158, allocations: 2.243 MB / 1.279 GB, free: 396 kB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.716, allocations: 100.4 kB / 1.279 GB, free: 296 kB / 1.104 GB Notification: Performance of SimCode: time 8.61e-07/0.716, allocations: 0 / 1.279 GB, free: 296 kB / 1.104 GB Notification: Performance of Templates: time 0.08971/0.8057, allocations: 155.3 MB / 1.431 GB, free: 4.941 MB / 1.26 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.0847537945956]