Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001905/0.001905, 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.001485/0.001485, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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.892/2.892, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002307/0.002307, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9435/0.9458, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03607/0.9819, allocations: 31.7 MB / 1.218 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02826/1.01, allocations: 14.47 MB / 1.232 GB, free: 2.836 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/1.015, allocations: 210.4 kB / 1.232 GB, free: 2.734 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/1.026, allocations: 3.669 MB / 1.235 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.036, allocations: 2.985 MB / 1.238 GB, free: 14.84 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008318/1.045, allocations: 2.337 MB / 1.241 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01451/1.059, allocations: 8.809 MB / 1.249 GB, free: 9.223 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.012/1.071, allocations: 5.481 MB / 1.255 GB, free: 5.68 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009049/1.08, allocations: 4.225 MB / 1.259 GB, free: 3.359 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00914/1.089, allocations: 3.937 MB / 1.263 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002986/1.092, allocations: 0.7119 MB / 1.263 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/1.098, allocations: 1.612 MB / 1.265 GB, free: 492 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005792/1.104, allocations: 2.889 MB / 1.268 GB, free: 14.58 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008711/1.113, allocations: 2.743 MB / 1.27 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02015/1.133, allocations: 11.26 MB / 1.281 GB, free: 4.785 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.133, allocations: 0 / 1.281 GB, free: 4.785 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.224e-06/1.133, allocations: 1.188 kB / 1.281 GB, free: 4.785 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004237/1.133, allocations: 0 / 1.281 GB, free: 4.785 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02111/1.154, allocations: 6.045 MB / 1.287 GB, free: 14.88 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.155, allocations: 8.031 kB / 1.287 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008872/1.163, allocations: 1.172 MB / 1.288 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/1.174, allocations: 3.45 MB / 1.292 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/1.174, allocations: 370.4 kB / 1.292 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/1.177, allocations: 0.4883 MB / 1.293 GB, free: 9.305 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/1.2, allocations: 8.705 MB / 1.301 GB, free: 164 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/1.2, allocations: 19.83 kB / 1.301 GB, free: 144 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/1.201, allocations: 216 kB / 1.301 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/1.203, allocations: 437.6 kB / 1.302 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/1.22, allocations: 6.081 MB / 1.308 GB, free: 9.406 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.272, allocations: 21.23 MB / 1.328 GB, free: 3.691 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/1.276, allocations: 1.913 MB / 1.33 GB, free: 1.77 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/1.278, allocations: 1.737 MB / 1.332 GB, free: 40 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.278, allocations: 21.94 kB / 1.332 GB, free: 16 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/1.279, allocations: 60.55 kB / 1.332 GB, free: 15.95 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 4.388e-06/1.279, allocations: 0 / 1.332 GB, free: 15.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1636/1.442, allocations: 38.67 MB / 1.37 GB, free: 9.223 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.442, allocations: 81.58 kB / 1.37 GB, free: 9.129 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.445, allocations: 2.043 MB / 1.372 GB, free: 7.066 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/1.446, allocations: 73.7 kB / 1.372 GB, free: 6.988 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/1.448, allocations: 2.348 MB / 1.374 GB, free: 4.617 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.449, allocations: 0.9837 MB / 1.375 GB, free: 3.625 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.45, allocations: 0.5064 MB / 1.376 GB, free: 3.109 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.45, allocations: 301.1 kB / 1.376 GB, free: 2.812 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.453, allocations: 1.973 MB / 1.378 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/1.457, allocations: 2.603 MB / 1.381 GB, free: 13.98 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/1.464, allocations: 4.933 MB / 1.385 GB, free: 8.777 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.464, allocations: 4 kB / 1.385 GB, free: 8.773 MB / 1.232 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01578/1.479, allocations: 7.627 MB / 1.393 GB, free: 1.078 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.48, allocations: 16.03 kB / 1.393 GB, free: 1.062 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/1.48, allocations: 16 kB / 1.393 GB, free: 1.047 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/1.489, allocations: 3.206 MB / 1.396 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.491, allocations: 399.4 kB / 1.396 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04861/1.54, allocations: 32.57 MB / 1.428 GB, free: 12.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/1.543, allocations: 171.8 kB / 1.428 GB, free: 12.08 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/1.543, allocations: 108 kB / 1.428 GB, free: 11.97 MB / 1.279 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003589/1.547, allocations: 1.793 MB / 1.43 GB, free: 10.17 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007108/1.548, allocations: 314.1 kB / 1.43 GB, free: 9.859 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.562, allocations: 7.236 MB / 1.438 GB, free: 2.539 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/1.562, allocations: 32 kB / 1.438 GB, free: 2.508 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-05/1.562, allocations: 28 kB / 1.438 GB, free: 2.48 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/1.562, allocations: 19.92 kB / 1.438 GB, free: 2.461 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/1.586, allocations: 11.4 MB / 1.449 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.586, allocations: 7.938 kB / 1.449 GB, free: 6.902 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.587, allocations: 235.6 kB / 1.449 GB, free: 6.672 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009774/1.597, allocations: 2.843 MB / 1.452 GB, free: 3.812 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003568/1.598, allocations: 48 kB / 1.452 GB, free: 3.766 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04686/1.644, allocations: 31.33 MB / 1.482 GB, free: 3.805 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.644, allocations: 11.94 kB / 1.482 GB, free: 3.793 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.658, allocations: 6.762 MB / 1.489 GB, free: 12.82 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.66, allocations: 0.6892 MB / 1.49 GB, free: 12.13 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/1.661, allocations: 68.28 kB / 1.49 GB, free: 12.06 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.663, allocations: 163.8 kB / 1.49 GB, free: 11.9 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008596/1.663, allocations: 269.2 kB / 1.49 GB, free: 11.64 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.664, allocations: 80 kB / 1.49 GB, free: 11.56 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.002056/1.666, allocations: 1.334 MB / 1.492 GB, free: 10.21 MB / 1.342 GB Notification: Performance of sort global known variables: time 9e-08/1.666, allocations: 0 / 1.492 GB, free: 10.21 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004329/1.67, allocations: 1.363 MB / 1.493 GB, free: 8.852 MB / 1.342 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003856/1.67, allocations: 175 kB / 1.493 GB, free: 8.668 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.683, allocations: 6.564 MB / 1.499 GB, free: 2.012 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.683, allocations: 0 / 1.499 GB, free: 2.012 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.008106/1.691, allocations: 4.248 MB / 1.504 GB, free: 13.68 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/1.695, allocations: 1.019 MB / 1.505 GB, free: 12.7 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.715, allocations: 10.35 MB / 1.515 GB, free: 2.258 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004984/1.72, allocations: 3.115 MB / 1.518 GB, free: 15.11 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.001902/1.722, allocations: 0.5337 MB / 1.518 GB, free: 14.57 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.723, allocations: 144.5 kB / 1.518 GB, free: 14.43 MB / 1.373 GB Notification: Performance of SimCode: time 9.51e-07/1.723, allocations: 0 / 1.518 GB, free: 14.43 MB / 1.373 GB Notification: Performance of Templates: time 0.1292/1.852, allocations: 75.63 MB / 1.592 GB, free: 4.023 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.929107167059556]