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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 114.3 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 461.7 MB / 0.7353 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 67.89 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9996/1.001, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00461/1.006, allocations: 2.317 MB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.007, allocations: 0.7793 MB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/1.008, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008138/1.009, allocations: 151.3 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/1.009, allocations: 55.67 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/1.009, allocations: 59.81 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/1.01, allocations: 159.5 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/1.01, allocations: 93.05 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/1.01, allocations: 75.77 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/1.01, allocations: 71.69 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/1.01, allocations: 12 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/1.011, allocations: 51.89 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/1.011, allocations: 31.91 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/1.011, allocations: 67.66 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/1.011, allocations: 173.1 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.011, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/1.011, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.011, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 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.001025/1.012, allocations: 0.4891 MB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.012, allocations: 8.031 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/1.013, allocations: 20.83 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.013, allocations: 220 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/1.013, allocations: 38.44 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/1.013, allocations: 12.12 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/1.013, allocations: 144.2 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.013, allocations: 3.938 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/1.013, allocations: 8 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/1.013, allocations: 4 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/1.014, allocations: 87.88 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009299/1.015, allocations: 0.6441 MB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/1.015, allocations: 62.55 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/1.015, allocations: 28.84 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/1.015, allocations: 0 / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/1.015, allocations: 146 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/1.015, allocations: 0 / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003828/1.016, allocations: 167.3 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.016, allocations: 128.5 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/1.016, allocations: 190.8 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/1.016, allocations: 33.64 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/1.016, allocations: 143.8 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/1.016, allocations: 19.75 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/1.016, allocations: 45.61 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.016, allocations: 322.8 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/1.016, allocations: 39.97 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/1.016, allocations: 105.4 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/1.017, allocations: 234.3 kB / 1.215 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.017, allocations: 4 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003487/1.017, allocations: 240.7 kB / 1.216 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/1.017, allocations: 63.41 kB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.017, allocations: 3.984 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.017, allocations: 7.938 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.017, allocations: 27.98 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.017, allocations: 7.938 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/1.017, allocations: 24.16 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/1.017, allocations: 11.98 kB / 1.216 GB, free: 5.441 MB / 0.9356 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.0001327/1.018, allocations: 161.3 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/1.018, allocations: 15.81 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/1.018, allocations: 17.34 kB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.018, allocations: 3.938 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/1.018, allocations: 0 / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/1.018, allocations: 92.91 kB / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.018, allocations: 11.94 kB / 1.216 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/1.018, allocations: 8 kB / 1.216 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/1.018, allocations: 11.98 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003529/1.018, allocations: 282 kB / 1.216 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004187/1.019, allocations: 364.6 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.155e-05/1.019, allocations: 47.95 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.307e-05/1.019, allocations: 135.2 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of Backend: time 6.31e-07/1.019, allocations: 0 / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006127/1.02, allocations: 305.7 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000706/1.02, allocations: 0.7837 MB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.004908/1.025, allocations: 1.711 MB / 1.22 GB, free: 1.359 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) 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) Reference file matches