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.002266/0.002266, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003342/0.003342, allocations: 214 kB / 22.25 MB, free: 4.855 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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.606/3.606, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 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.002116/0.002116, allocations: 64.66 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5471, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004765/0.5518, allocations: 2.313 MB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.5535, allocations: 0.8221 MB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.5536, allocations: 4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007608/0.5544, allocations: 143.4 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.5546, allocations: 67.55 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.5548, allocations: 71.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.5551, allocations: 159.5 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.5554, allocations: 85.06 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.5556, allocations: 75.75 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.5558, allocations: 67.62 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.5558, allocations: 8 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.5559, allocations: 55.89 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.556, allocations: 35.91 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.5561, allocations: 63.7 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.5564, allocations: 171.3 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5564, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5564, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.5564, allocations: 0 / 1.368 GB, free: 9.43 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008355/0.5573, allocations: 425.2 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5573, allocations: 12.03 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.5576, allocations: 32.81 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.558, allocations: 160.1 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.558, allocations: 67.72 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.5581, allocations: 16 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.5584, allocations: 181.8 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5585, allocations: 0 / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.5585, allocations: 8 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.5585, allocations: 4 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.5587, allocations: 125.5 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.5597, allocations: 0.5502 MB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.56, allocations: 88.25 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5601, allocations: 54.61 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5601, allocations: 0 / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.5604, allocations: 172.6 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.5604, allocations: 0 / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005052/0.5609, allocations: 230.6 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.561, allocations: 136.5 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5612, allocations: 178.4 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.5613, allocations: 33.7 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.5614, allocations: 143.7 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.5614, allocations: 23.8 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.5615, allocations: 33.7 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5617, allocations: 326.8 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.5619, allocations: 99.33 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.5621, allocations: 166.5 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.5624, allocations: 238.3 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5624, allocations: 0 / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004473/0.5629, allocations: 300.2 kB / 1.371 GB, free: 5.262 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.563, allocations: 67.34 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.563, allocations: 0 / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.563, allocations: 7.984 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5631, allocations: 31.92 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5631, allocations: 4 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5633, allocations: 27.84 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5633, allocations: 16.3 kB / 1.372 GB, free: 5.098 MB / 1.061 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 0.0001807/0.5635, allocations: 159.5 kB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5635, allocations: 19.88 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.5636, allocations: 13.41 kB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5636, allocations: 0 / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5636, allocations: 0 / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5636, allocations: 0 / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.5638, allocations: 149.2 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5638, allocations: 0 / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.5638, allocations: 11.98 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5638, allocations: 4 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5639, allocations: 15.94 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5639, allocations: 0 / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5639, allocations: 0 / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.5644, allocations: 278 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.5644, allocations: 15.88 kB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.5645, allocations: 11.94 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.5645, allocations: 11.98 kB / 1.372 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.5646, allocations: 11.98 kB / 1.372 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5646, allocations: 8 kB / 1.372 GB, free: 4.312 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001264/0.5648, allocations: 132.8 kB / 1.372 GB, free: 4.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5648, allocations: 0 / 1.372 GB, free: 4.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002464/0.565, allocations: 28 kB / 1.372 GB, free: 4.156 MB / 1.061 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 0.0001424/0.5651, allocations: 107.3 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.5656, allocations: 295.7 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5656, allocations: 0.625 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.5658, allocations: 125.1 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.566, allocations: 19.97 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.5667, allocations: 338.7 kB / 1.373 GB, free: 3.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.5668, allocations: 98.27 kB / 1.373 GB, free: 3.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.5669, allocations: 24.62 kB / 1.373 GB, free: 3.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.5669, allocations: 11.44 kB / 1.373 GB, free: 3.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.5669, allocations: 0 / 1.373 GB, free: 3.035 MB / 1.061 GB Notification: Performance of Templates: time 0.005303/0.5722, allocations: 1.59 MB / 1.375 GB, free: 1.488 MB / 1.061 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 -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/jenkins/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: 10.669012140482664]