Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.96, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005227/0.9652, allocations: 5.045 MB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.9687, allocations: 2.553 MB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.969, allocations: 30 kB / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.9701, allocations: 422.2 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009665/0.9711, allocations: 471.2 kB / 1.314 GB, free: 27.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.9719, allocations: 402.3 kB / 1.314 GB, free: 27.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008093/0.9727, allocations: 0.9241 MB / 1.315 GB, free: 27.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.9731, allocations: 267.9 kB / 1.315 GB, free: 26.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.9735, allocations: 348.2 kB / 1.316 GB, free: 26.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.9739, allocations: 369.6 kB / 1.316 GB, free: 26.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.974, allocations: 37.16 kB / 1.316 GB, free: 26.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.9746, allocations: 414.3 kB / 1.316 GB, free: 26.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.9748, allocations: 183 kB / 1.317 GB, free: 26.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.975, allocations: 324.5 kB / 1.317 GB, free: 26.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.9759, allocations: 0.8947 MB / 1.318 GB, free: 25.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9759, allocations: 0 / 1.318 GB, free: 25.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9759, allocations: 0 / 1.318 GB, free: 25.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9759, allocations: 2.625 kB / 1.318 GB, free: 25.94 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001197/0.9771, allocations: 0.9624 MB / 1.319 GB, free: 25.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.9772, allocations: 14.3 kB / 1.319 GB, free: 25.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.9784, allocations: 208.3 kB / 1.319 GB, free: 25.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.979, allocations: 0.5594 MB / 1.319 GB, free: 24.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.9791, allocations: 33.73 kB / 1.319 GB, free: 24.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.9791, allocations: 49.86 kB / 1.32 GB, free: 24.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.98, allocations: 0.8478 MB / 1.32 GB, free: 24.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.98, allocations: 6.812 kB / 1.32 GB, free: 24.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.9801, allocations: 23.98 kB / 1.32 GB, free: 24.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.9801, allocations: 69.19 kB / 1.32 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.9808, allocations: 0.5664 MB / 1.321 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.9839, allocations: 5.649 MB / 1.327 GB, free: 18.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.9844, allocations: 426.5 kB / 1.327 GB, free: 18.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.9846, allocations: 201.4 kB / 1.327 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.9847, allocations: 2.938 kB / 1.327 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.9847, allocations: 41.34 kB / 1.327 GB, free: 18.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.9847, allocations: 0 / 1.327 GB, free: 18.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002225/0.9869, allocations: 1.505 MB / 1.329 GB, free: 17.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.9869, allocations: 63.34 kB / 1.329 GB, free: 17.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.9875, allocations: 0.4997 MB / 1.329 GB, free: 17.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.9875, allocations: 31.77 kB / 1.329 GB, free: 17.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.9877, allocations: 366.5 kB / 1.33 GB, free: 16.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.9877, allocations: 125.4 kB / 1.33 GB, free: 16.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.9879, allocations: 117.4 kB / 1.33 GB, free: 16.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.988, allocations: 364.3 kB / 1.33 GB, free: 16.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.9883, allocations: 196.8 kB / 1.33 GB, free: 16.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.9887, allocations: 450.3 kB / 1.331 GB, free: 16.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/0.9894, allocations: 0.6959 MB / 1.331 GB, free: 15.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9894, allocations: 2.406 kB / 1.331 GB, free: 15.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001214/0.9906, allocations: 0.8069 MB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.9907, allocations: 9.219 kB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.9907, allocations: 8.625 kB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.9912, allocations: 157.7 kB / 1.332 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.9916, allocations: 125.5 kB / 1.333 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.9941, allocations: 4.352 MB / 1.337 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.9945, allocations: 32.27 kB / 1.337 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.9946, allocations: 27 kB / 1.337 GB, free: 10.74 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002746/0.9949, allocations: 222 kB / 1.337 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.995, allocations: 62.25 kB / 1.337 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.996, allocations: 0.5981 MB / 1.338 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.996, allocations: 3.75 kB / 1.338 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.996, allocations: 1.75 kB / 1.338 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9961, allocations: 3.859 kB / 1.338 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.998, allocations: 1.258 MB / 1.339 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.998, allocations: 2.391 kB / 1.339 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.9983, allocations: 54.64 kB / 1.339 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/0.9987, allocations: 147.3 kB / 1.339 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.9987, allocations: 16.5 kB / 1.339 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/1.001, allocations: 4.325 MB / 1.343 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.001, allocations: 2.25 kB / 1.343 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.002, allocations: 0.7225 MB / 1.344 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/1.002, allocations: 172.3 kB / 1.344 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/1.002, allocations: 11.2 kB / 1.344 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/1.003, allocations: 27.06 kB / 1.344 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/1.003, allocations: 35.23 kB / 1.344 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/1.003, allocations: 12.19 kB / 1.344 GB, free: 4.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003747/1.003, allocations: 340 kB / 1.345 GB, free: 4.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.003, allocations: 0 / 1.345 GB, free: 4.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006832/1.004, allocations: 146.6 kB / 1.345 GB, free: 4.406 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/1.004, allocations: 107.5 kB / 1.345 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.005, allocations: 1.01 MB / 1.346 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.005, allocations: 4.125 kB / 1.346 GB, free: 3.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/1.006, allocations: 0.7166 MB / 1.347 GB, free: 2.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/1.007, allocations: 203.6 kB / 1.347 GB, free: 2.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.008, allocations: 1.072 MB / 1.348 GB, free: 2.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/1.009, allocations: 0.9128 MB / 1.349 GB, free: 1.598 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000379/1.009, allocations: 124.7 kB / 1.349 GB, free: 1.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/1.009, allocations: 38.53 kB / 1.349 GB, free: 1.562 MB / 1.061 GB Notification: Performance of SimCode: time 1.232e-06/1.009, allocations: 0 / 1.349 GB, free: 1.562 MB / 1.061 GB Notification: Performance of Templates: time 0.0195/1.029, allocations: 7.963 MB / 1.357 GB, free: 1.016 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 9.302604299038649]