Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001742/0.001742, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001863/0.001863, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3737, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.8749/1.249, allocations: 36.42 MB / 1.153 GB, free: 43.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01732/1.266, allocations: 11.13 MB / 1.164 GB, free: 36.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/1.27, allocations: 200.8 kB / 1.164 GB, free: 36.37 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009665/1.279, allocations: 4.374 MB / 1.168 GB, free: 33.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/1.286, allocations: 2.339 MB / 1.171 GB, free: 32.45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004885/1.29, allocations: 2.179 MB / 1.173 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01222/1.303, allocations: 9.279 MB / 1.182 GB, free: 26.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/1.314, allocations: 6.322 MB / 1.188 GB, free: 23.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/1.326, allocations: 4.133 MB / 1.192 GB, free: 21.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/1.338, allocations: 4.455 MB / 1.196 GB, free: 20.33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003387/1.342, allocations: 0.8232 MB / 1.197 GB, free: 20.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006051/1.348, allocations: 1.501 MB / 1.199 GB, free: 20.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00513/1.353, allocations: 3.23 MB / 1.202 GB, free: 18.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00949/1.362, allocations: 2.981 MB / 1.205 GB, free: 17.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.023/1.385, allocations: 12.4 MB / 1.217 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.385, allocations: 0 / 1.217 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.695e-06/1.385, allocations: 1.312 kB / 1.217 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004641/1.386, allocations: 0 / 1.217 GB, free: 13.11 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02872/1.415, allocations: 6.397 MB / 1.223 GB, free: 9.668 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.415, allocations: 13.34 kB / 1.223 GB, free: 9.664 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/1.422, allocations: 1.103 MB / 1.224 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009865/1.431, allocations: 3.571 MB / 1.228 GB, free: 7.516 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/1.432, allocations: 424.2 kB / 1.228 GB, free: 7.324 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/1.434, allocations: 0.5424 MB / 1.229 GB, free: 7.141 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/1.46, allocations: 10.3 MB / 1.239 GB, free: 2.031 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.46, allocations: 23.77 kB / 1.239 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/1.461, allocations: 248.3 kB / 1.239 GB, free: 1.832 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008144/1.462, allocations: 424.9 kB / 1.239 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/1.484, allocations: 7.116 MB / 1.246 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06368/1.548, allocations: 25.36 MB / 1.271 GB, free: 10.26 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006464/1.555, allocations: 2.901 MB / 1.274 GB, free: 8.766 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/1.558, allocations: 1.935 MB / 1.276 GB, free: 7.758 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.558, allocations: 22.56 kB / 1.276 GB, free: 7.754 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/1.558, allocations: 61.25 kB / 1.276 GB, free: 7.699 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 5.47e-06/1.558, allocations: 0 / 1.276 GB, free: 7.699 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02991/1.588, allocations: 10.24 MB / 1.286 GB, free: 13.48 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/1.588, allocations: 81.34 kB / 1.286 GB, free: 13.39 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.592, allocations: 1.833 MB / 1.288 GB, free: 11.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/1.593, allocations: 69.64 kB / 1.288 GB, free: 11.45 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.595, allocations: 2.488 MB / 1.29 GB, free: 8.938 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.596, allocations: 0.763 MB / 1.291 GB, free: 8.168 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/1.597, allocations: 481.5 kB / 1.291 GB, free: 7.691 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.597, allocations: 305.1 kB / 1.292 GB, free: 7.391 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/1.6, allocations: 1.368 MB / 1.293 GB, free: 6.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/1.603, allocations: 2.108 MB / 1.295 GB, free: 3.594 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/1.609, allocations: 3.762 MB / 1.299 GB, free: 15.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.609, allocations: 8 kB / 1.299 GB, free: 15.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009866/1.619, allocations: 5.013 MB / 1.304 GB, free: 10.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.619, allocations: 16 kB / 1.304 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.462e-05/1.619, allocations: 25.11 kB / 1.304 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/1.623, allocations: 1.59 MB / 1.305 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.625, allocations: 451.2 kB / 1.306 GB, free: 8.402 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02675/1.652, allocations: 17.78 MB / 1.323 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/1.655, allocations: 147.9 kB / 1.323 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.655, allocations: 104 kB / 1.323 GB, free: 5.969 MB / 1.154 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005273/1.661, allocations: 1.949 MB / 1.325 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/1.662, allocations: 282.3 kB / 1.325 GB, free: 3.73 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/1.67, allocations: 4.397 MB / 1.33 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/1.67, allocations: 20 kB / 1.33 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/1.67, allocations: 16 kB / 1.33 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.67, allocations: 7.969 kB / 1.33 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.688, allocations: 8.342 MB / 1.338 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.688, allocations: 8.062 kB / 1.338 GB, free: 6.789 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.689, allocations: 239.5 kB / 1.338 GB, free: 6.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/1.692, allocations: 1.424 MB / 1.34 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/1.693, allocations: 43.94 kB / 1.34 GB, free: 5.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/1.718, allocations: 17.78 MB / 1.357 GB, free: 2.883 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.718, allocations: 12.19 kB / 1.357 GB, free: 2.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009038/1.727, allocations: 4.486 MB / 1.361 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/1.73, allocations: 0.5489 MB / 1.362 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000585/1.73, allocations: 40 kB / 1.362 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.732, allocations: 115.9 kB / 1.362 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00068/1.732, allocations: 193.5 kB / 1.362 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.732, allocations: 60 kB / 1.362 GB, free: 13.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002061/1.735, allocations: 1.165 MB / 1.363 GB, free: 12.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.735, allocations: 0 / 1.363 GB, free: 12.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006338/1.741, allocations: 1.137 MB / 1.365 GB, free: 11.02 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005324/1.741, allocations: 170.9 kB / 1.365 GB, free: 10.85 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009356/1.751, allocations: 4.536 MB / 1.369 GB, free: 6.262 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.751, allocations: 4 kB / 1.369 GB, free: 6.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/1.756, allocations: 2.813 MB / 1.372 GB, free: 3.402 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.76, allocations: 0.8176 MB / 1.373 GB, free: 2.605 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.78, allocations: 9.55 MB / 1.382 GB, free: 8.961 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004666/1.784, allocations: 3.162 MB / 1.385 GB, free: 5.758 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002097/1.786, allocations: 0.5265 MB / 1.386 GB, free: 5.227 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.787, allocations: 140.5 kB / 1.386 GB, free: 5.09 MB / 1.217 GB Notification: Performance of SimCode: time 7.32e-07/1.787, allocations: 0 / 1.386 GB, free: 5.09 MB / 1.217 GB Notification: Performance of Templates: time 0.1003/1.887, allocations: 52.37 MB / 1.437 GB, free: 1.758 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 11.512905897921883]