Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001193/0.001192, allocations: 112.7 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.001303/0.001304, allocations: 190.7 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 64.12 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004407/1.093, allocations: 2.3 MB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001414/1.094, allocations: 0.783 MB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/1.095, allocations: 4 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006886/1.095, allocations: 151.3 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/1.095, allocations: 63.61 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/1.096, allocations: 51.88 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000256/1.096, allocations: 155.5 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/1.096, allocations: 97.05 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/1.096, allocations: 71.7 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/1.097, allocations: 71.62 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/1.097, allocations: 16 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/1.097, allocations: 59.88 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/1.097, allocations: 35.91 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/1.097, allocations: 63.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/1.097, allocations: 169 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.097, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.014e-06/1.097, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.413e-05/1.097, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 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.0008048/1.098, allocations: 498.3 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.098, allocations: 12.03 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/1.098, allocations: 24.83 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/1.099, allocations: 212.1 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/1.099, allocations: 42.45 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/1.099, allocations: 12.12 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/1.099, allocations: 153.2 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.099, allocations: 7.938 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.099, allocations: 4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/1.099, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/1.099, allocations: 87.89 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/1.1, allocations: 0.6363 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/1.1, allocations: 58.55 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/1.101, allocations: 28.91 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/1.101, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/1.101, allocations: 146.7 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.101, allocations: 0 / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/1.101, allocations: 163.3 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/1.101, allocations: 136.5 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.101, allocations: 179.4 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/1.101, allocations: 33.7 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/1.102, allocations: 131.8 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.102, allocations: 23.73 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/1.102, allocations: 45.61 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.102, allocations: 322.8 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/1.102, allocations: 35.98 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/1.102, allocations: 113.4 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/1.102, allocations: 238.3 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.102, allocations: 4 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003376/1.103, allocations: 240.9 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.103, allocations: 63.41 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.103, allocations: 4 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.103, allocations: 7.938 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/1.103, allocations: 27.92 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.103, allocations: 7.984 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.103, allocations: 23.84 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/1.103, allocations: 8 kB / 1.175 GB, free: 11.7 MB / 0.9044 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.0001409/1.103, allocations: 173 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/1.103, allocations: 15.81 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/1.103, allocations: 17.33 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.103, allocations: 7.938 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.103, allocations: 0 / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/1.103, allocations: 88.92 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/1.103, allocations: 4 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/1.104, allocations: 11.98 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/1.104, allocations: 15.98 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003626/1.104, allocations: 274 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004242/1.104, allocations: 368.3 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.471e-05/1.105, allocations: 43.98 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001087/1.105, allocations: 140.9 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of Backend: time 5.21e-07/1.105, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006542/1.105, allocations: 307.5 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007811/1.106, allocations: 0.7782 MB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of Templates: time 0.004992/1.111, allocations: 1.74 MB / 1.179 GB, free: 7.586 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches