Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0008068/0.0008068, allocations: 80.48 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.0007989/0.0007989, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8448/0.8448, 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.727/1.727, allocations: 389 MB / 0.6338 GB, free: 12.69 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.055e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0149/0.01492, allocations: 21.83 MB / 1.022 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00727/0.02219, allocations: 6.39 MB / 1.028 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007345/0.02293, allocations: 127 kB / 1.029 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.02471, allocations: 1.51 MB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.0269, allocations: 1.994 MB / 1.032 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.02857, allocations: 1.479 MB / 1.033 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004292/0.03286, allocations: 7.024 MB / 1.04 GB, free: 4.488 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.03663, allocations: 3.739 MB / 1.044 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4197/0.4564, allocations: 4.009 MB / 1.048 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.4589, allocations: 3.399 MB / 1.051 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004104/0.4593, allocations: 0.5276 MB / 1.052 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4605, allocations: 1.125 MB / 1.053 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.4618, allocations: 2.663 MB / 1.055 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.4629, allocations: 1.762 MB / 1.057 GB, free: 53.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.4673, allocations: 8.688 MB / 1.066 GB, free: 52.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4673, allocations: 0 / 1.066 GB, free: 52.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4673, allocations: 0 / 1.066 GB, free: 52.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.066e-05/0.4674, allocations: 1.219 kB / 1.066 GB, free: 52.66 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004238/0.4716, allocations: 4.422 MB / 1.07 GB, free: 50.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4717, allocations: 12.78 kB / 1.07 GB, free: 50.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.4758, allocations: 1.714 MB / 1.072 GB, free: 50.52 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.4789, allocations: 2.668 MB / 1.074 GB, free: 49.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.4791, allocations: 271.4 kB / 1.074 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.4797, allocations: 363.8 kB / 1.075 GB, free: 49.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008088/0.4878, allocations: 7.715 MB / 1.082 GB, free: 45.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.4879, allocations: 20.48 kB / 1.082 GB, free: 45.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.4882, allocations: 158 kB / 1.083 GB, free: 45.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004113/0.4886, allocations: 490.3 kB / 1.083 GB, free: 45.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00652/0.4951, allocations: 5.698 MB / 1.089 GB, free: 43.96 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/0.5127, allocations: 19.92 MB / 1.108 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.5146, allocations: 2.013 MB / 1.11 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.5166, allocations: 2.108 MB / 1.112 GB, free: 30.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.5167, allocations: 19.53 kB / 1.112 GB, free: 30.41 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5167, allocations: 50.19 kB / 1.112 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=146): time 3.356e-06/0.5168, allocations: 0 / 1.112 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=251): time 0.1447/0.6615, allocations: 76.71 MB / 1.187 GB, free: 15.1 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.6615, allocations: 81.41 kB / 1.187 GB, free: 15.01 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6632, allocations: 1.606 MB / 1.189 GB, free: 13.41 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/0.6634, allocations: 65.7 kB / 1.189 GB, free: 13.34 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/0.6642, allocations: 1.798 MB / 1.191 GB, free: 11.53 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.6648, allocations: 0.8855 MB / 1.191 GB, free: 10.66 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006322/0.6654, allocations: 485.4 kB / 1.192 GB, free: 10.18 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.6655, allocations: 301.1 kB / 1.192 GB, free: 9.879 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.6681, allocations: 2.73 MB / 1.195 GB, free: 7.145 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.6709, allocations: 3.329 MB / 1.198 GB, free: 3.574 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/0.6767, allocations: 6.397 MB / 1.204 GB, free: 13 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.6767, allocations: 7.188 kB / 1.204 GB, free: 13 MB / 1.042 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01951/0.6962, allocations: 14.4 MB / 1.218 GB, free: 14.85 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.6962, allocations: 16 kB / 1.218 GB, free: 14.83 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.6962, allocations: 16 kB / 1.218 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01683/0.7131, allocations: 9.194 MB / 1.227 GB, free: 5.617 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.7139, allocations: 300.3 kB / 1.228 GB, free: 5.344 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05134/0.7652, allocations: 50.84 MB / 1.277 GB, free: 1.977 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.7675, allocations: 219.7 kB / 1.278 GB, free: 1.762 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.7677, allocations: 100 kB / 1.278 GB, free: 1.664 MB / 1.104 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002915/0.7707, allocations: 1.581 MB / 1.279 GB, free: 88 kB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.7712, allocations: 250.7 kB / 1.279 GB, free: 15.84 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/0.7916, allocations: 14.47 MB / 1.294 GB, free: 1.309 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.7917, allocations: 24.33 kB / 1.294 GB, free: 1.285 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001557/0.7918, allocations: 47.98 kB / 1.294 GB, free: 1.238 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.459e-05/0.7919, allocations: 11.95 kB / 1.294 GB, free: 1.227 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/0.8195, allocations: 18.94 MB / 1.312 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.8195, allocations: 4 kB / 1.312 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.82, allocations: 163.8 kB / 1.312 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/0.8378, allocations: 8.976 MB / 1.321 GB, free: 5.008 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/0.8384, allocations: 48 kB / 1.321 GB, free: 4.961 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05318/0.8916, allocations: 50.4 MB / 1.37 GB, free: 1.957 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.8916, allocations: 14.84 kB / 1.37 GB, free: 1.945 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/0.9124, allocations: 14.07 MB / 1.384 GB, free: 3.738 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/0.9144, allocations: 0.7715 MB / 1.385 GB, free: 2.965 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.9147, allocations: 52 kB / 1.385 GB, free: 2.914 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.9159, allocations: 207.6 kB / 1.385 GB, free: 2.711 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/0.917, allocations: 261.1 kB / 1.385 GB, free: 2.457 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/0.9173, allocations: 64 kB / 1.385 GB, free: 2.395 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001184/0.9185, allocations: 1.064 MB / 1.386 GB, free: 1.34 MB / 1.214 GB Notification: Performance of sort global known variables: time 6e-08/0.9185, allocations: 0 / 1.386 GB, free: 1.34 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.00428/0.9228, allocations: 1.609 MB / 1.388 GB, free: 15.73 MB / 1.229 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003709/0.9231, allocations: 159.1 kB / 1.388 GB, free: 15.56 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01407/0.9372, allocations: 10.2 MB / 1.398 GB, free: 5.348 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.9372, allocations: 0 / 1.398 GB, free: 5.348 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/0.9477, allocations: 6.98 MB / 1.405 GB, free: 14.31 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.9497, allocations: 0.539 MB / 1.405 GB, free: 13.79 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.9622, allocations: 9.533 MB / 1.415 GB, free: 4.168 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.9649, allocations: 2.751 MB / 1.417 GB, free: 1.375 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.9653, allocations: 104.5 kB / 1.418 GB, free: 1.273 MB / 1.245 GB Notification: Performance of SimCode: time 1.293e-06/0.9653, allocations: 0 / 1.418 GB, free: 1.273 MB / 1.245 GB Notification: Performance of Templates: time 0.5498/1.515, allocations: 189.2 MB / 1.602 GB, free: 469.3 MB / 1.401 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 14.184940843842924]