Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.001328/0.001328, allocations: 85.06 kB / 19.76 MB, free: 2.023 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.001462/0.001462, allocations: 157.3 kB / 23.01 MB, free: 4.961 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.914/2.914, allocations: 394.2 MB / 0.6387 GB, free: 11.93 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [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.002451/0.002451, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9667, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003287/0.97, allocations: 2.321 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.9712, allocations: 0.8234 MB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.9713, allocations: 2.375 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.9718, allocations: 144.7 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.972, allocations: 64.19 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.9722, allocations: 76.92 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.9724, allocations: 158.1 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.9726, allocations: 77.42 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.9728, allocations: 71.31 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.9729, allocations: 70.22 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.973, allocations: 12.19 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.9731, allocations: 49.39 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.9731, allocations: 36.36 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.831e-05/0.9732, allocations: 59.91 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.9735, allocations: 181.7 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9735, allocations: 1.656 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9735, allocations: 0 / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9735, allocations: 0 / 1.191 GB, free: 13.64 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005984/0.9741, allocations: 429.7 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.9741, allocations: 8.656 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.9744, allocations: 38.41 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.9746, allocations: 158.7 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.9747, allocations: 71.05 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.9747, allocations: 11.38 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.975, allocations: 179.1 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.975, allocations: 0 / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.975, allocations: 6.844 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.9751, allocations: 9.047 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.9753, allocations: 119.3 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.976, allocations: 0.5583 MB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.9762, allocations: 86.7 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.9763, allocations: 53.53 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.9763, allocations: 1.562 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.9765, allocations: 171.3 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9765, allocations: 0 / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003703/0.9768, allocations: 225 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.9769, allocations: 137.1 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.977, allocations: 187.6 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.977, allocations: 27.52 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.9771, allocations: 147.9 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.9771, allocations: 18.16 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.9772, allocations: 37.88 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.9772, allocations: 327.8 kB / 1.193 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.9773, allocations: 96.16 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.9774, allocations: 167.1 kB / 1.194 GB, free: 10.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.9776, allocations: 231.3 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.9777, allocations: 1.562 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003412/0.978, allocations: 300.3 kB / 1.194 GB, free: 10.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.978, allocations: 68.3 kB / 1.194 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.978, allocations: 7.625 kB / 1.194 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9781, allocations: 3.438 kB / 1.194 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.9782, allocations: 31.75 kB / 1.194 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9782, allocations: 3.25 kB / 1.194 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.9783, allocations: 30.92 kB / 1.194 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.9783, allocations: 11.41 kB / 1.194 GB, free: 10.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.9784, allocations: 166.1 kB / 1.195 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.9785, allocations: 19.7 kB / 1.195 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.9785, allocations: 15.44 kB / 1.195 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9785, allocations: 0.6094 kB / 1.195 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.9785, allocations: 1.344 kB / 1.195 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.9785, allocations: 0 / 1.195 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.9786, allocations: 147.6 kB / 1.195 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9786, allocations: 1.625 kB / 1.195 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.9787, allocations: 14.45 kB / 1.195 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.9787, allocations: 0 / 1.195 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9787, allocations: 6.766 kB / 1.195 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9787, allocations: 1.656 kB / 1.195 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9787, allocations: 0 / 1.195 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.9791, allocations: 285.4 kB / 1.195 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.9791, allocations: 13.62 kB / 1.195 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.9791, allocations: 10.83 kB / 1.195 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.9792, allocations: 10.36 kB / 1.195 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.9793, allocations: 9.922 kB / 1.195 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.9793, allocations: 6.672 kB / 1.195 GB, free: 9.719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.9794, allocations: 131.6 kB / 1.195 GB, free: 9.629 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9794, allocations: 0 / 1.195 GB, free: 9.629 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002549/0.9796, allocations: 31.09 kB / 1.195 GB, free: 9.625 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.999e-05/0.9797, allocations: 101.6 kB / 1.195 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.98, allocations: 302.3 kB / 1.196 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.98, allocations: 5.219 kB / 1.196 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.9801, allocations: 122.6 kB / 1.196 GB, free: 9.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.9804, allocations: 23.27 kB / 1.196 GB, free: 9.148 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.9809, allocations: 333.3 kB / 1.196 GB, free: 8.902 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.981, allocations: 102.9 kB / 1.196 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.979e-05/0.9811, allocations: 16.81 kB / 1.196 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.9811, allocations: 17.94 kB / 1.196 GB, free: 8.809 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9811, allocations: 4.938 kB / 1.196 GB, free: 8.805 MB / 1.076 GB Notification: Performance of Templates: time 0.004748/0.9858, allocations: 1.462 MB / 1.198 GB, free: 8.617 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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: 8.885905666043982]