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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00138/0.00138, allocations: 112 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.001542/0.001542, allocations: 183.9 kB / 17.35 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.12 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9502/0.9517, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004225/0.9559, allocations: 2.311 MB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.9574, allocations: 0.7869 MB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.9576, allocations: 4 kB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.9583, allocations: 155.3 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.9586, allocations: 55.67 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.9588, allocations: 55.86 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.9591, allocations: 155.5 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.9594, allocations: 109 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.9596, allocations: 67.77 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.9597, allocations: 59.7 kB / 1.225 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.9598, allocations: 19.98 kB / 1.225 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.9599, allocations: 51.89 kB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.96, allocations: 35.91 kB / 1.225 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.9601, allocations: 71.66 kB / 1.225 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.9604, allocations: 169.1 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9604, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9604, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.9604, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 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.0008642/0.9613, allocations: 494.5 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9614, allocations: 12.62 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.9616, allocations: 28.73 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.9619, allocations: 204.2 kB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.962, allocations: 42.39 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.962, allocations: 16.12 kB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.9623, allocations: 140.2 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9623, allocations: 7.938 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.9624, allocations: 0 / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.9624, allocations: 8 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.9626, allocations: 91.88 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.9635, allocations: 0.6402 MB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.9638, allocations: 50.56 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.9639, allocations: 28.91 kB / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.9639, allocations: 0 / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.9641, allocations: 158.6 kB / 1.227 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9642, allocations: 0 / 1.227 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003923/0.9645, allocations: 155.4 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.9646, allocations: 140.5 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.9648, allocations: 186.7 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.9648, allocations: 25.7 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.9649, allocations: 143.8 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.965, allocations: 19.75 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.965, allocations: 41.61 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9652, allocations: 326.8 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.9653, allocations: 39.91 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.9654, allocations: 111.1 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.9657, allocations: 226.4 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.9657, allocations: 8 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003525/0.9661, allocations: 244.7 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.9661, allocations: 63.39 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9661, allocations: 4 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.9662, allocations: 7.938 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.9663, allocations: 27.92 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9663, allocations: 4 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.9665, allocations: 27.83 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.9665, allocations: 8 kB / 1.228 GB, free: 10.2 MB / 0.9512 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.0001498/0.9667, allocations: 171.7 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.9667, allocations: 7.906 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.9667, allocations: 17.34 kB / 1.229 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9667, allocations: 3.938 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9667, allocations: 4.047 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.9668, allocations: 92.89 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.9668, allocations: 4 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.9669, allocations: 11.98 kB / 1.229 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.967, allocations: 15.94 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003695/0.9674, allocations: 282 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004409/0.9679, allocations: 360.3 kB / 1.229 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000105/0.968, allocations: 48.02 kB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001037/0.9681, allocations: 132.4 kB / 1.23 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of Backend: time 6.51e-07/0.9681, allocations: 3.938 kB / 1.23 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006571/0.9688, allocations: 308.9 kB / 1.23 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008281/0.9696, allocations: 0.7765 MB / 1.231 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of Templates: time 0.004882/0.9745, allocations: 1.737 MB / 1.232 GB, free: 6.086 MB / 0.9512 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