Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002109/0.002109, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 482.3 MB / 0.7542 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 74.95 kB / 0.9232 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.003086/0.4045, allocations: 1.154 MB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.4066, allocations: 1.517 MB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4067, allocations: 0 / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.4069, allocations: 23.78 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.407, allocations: 27.78 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4081, allocations: 463.4 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.4088, allocations: 0.5809 MB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.409, allocations: 144.5 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.4093, allocations: 219.5 kB / 1.086 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.4095, allocations: 195.3 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.4096, allocations: 60 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4098, allocations: 71.92 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.4098, allocations: 75.77 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.4101, allocations: 219.2 kB / 1.086 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.4107, allocations: 0.5573 MB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4107, allocations: 0 / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4107, allocations: 0 / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.4107, allocations: 4 kB / 1.087 GB, free: 8.477 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001074/0.4118, allocations: 0.7066 MB / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4118, allocations: 12.03 kB / 1.087 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.412, allocations: 44.55 kB / 1.088 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.4124, allocations: 308.8 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.4124, allocations: 28.92 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/0.4125, allocations: 52.34 kB / 1.088 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.413, allocations: 245.4 kB / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.413, allocations: 192 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.4131, allocations: 23.88 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4131, allocations: 4 kB / 1.088 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.4134, allocations: 162.2 kB / 1.088 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4148, allocations: 0.9266 MB / 1.089 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.4153, allocations: 236.1 kB / 1.089 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.4155, allocations: 92.83 kB / 1.09 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4155, allocations: 0 / 1.09 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.416, allocations: 257.2 kB / 1.09 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 5.4e-06/0.416, allocations: 3.984 kB / 1.09 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008406/0.4169, allocations: 434.8 kB / 1.09 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.417, allocations: 63.39 kB / 1.09 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4173, allocations: 202.4 kB / 1.09 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.4173, allocations: 49.69 kB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4175, allocations: 144.6 kB / 1.091 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.4176, allocations: 79.03 kB / 1.091 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.4179, allocations: 142 kB / 1.091 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4181, allocations: 330.8 kB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.4184, allocations: 164.7 kB / 1.091 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.4189, allocations: 261.5 kB / 1.092 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.4194, allocations: 407 kB / 1.092 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4194, allocations: 7.938 kB / 1.092 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001071/0.4205, allocations: 0.631 MB / 1.093 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4206, allocations: 135.1 kB / 1.093 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4206, allocations: 8 kB / 1.093 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4207, allocations: 4 kB / 1.093 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.4208, allocations: 23.92 kB / 1.093 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4208, allocations: 7.984 kB / 1.093 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.4215, allocations: 127.6 kB / 1.093 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.4215, allocations: 31.98 kB / 1.093 GB, free: 1.797 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition14,$whenCondition15,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDedReq.ini.y,enaDedReq.lat.y,enaDed.ini.y,enaDed.lat.y,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDed.edg.y,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.000223/0.4218, allocations: 173.6 kB / 1.093 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.4218, allocations: 23.75 kB / 1.093 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.4219, allocations: 30.64 kB / 1.093 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4219, allocations: 8 kB / 1.093 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4219, allocations: 0 / 1.093 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4219, allocations: 0 / 1.093 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.423, allocations: 0.7685 MB / 1.094 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.423, allocations: 4 kB / 1.094 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.423, allocations: 4 kB / 1.094 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4231, allocations: 7.938 kB / 1.094 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4231, allocations: 15.98 kB / 1.094 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4231, allocations: 0 / 1.094 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4231, allocations: 0 / 1.094 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.4237, allocations: 435 kB / 1.094 GB, free: 268 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.4238, allocations: 104.7 kB / 1.094 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.4238, allocations: 15.98 kB / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4239, allocations: 11.98 kB / 1.094 GB, free: 116 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.424, allocations: 31.95 kB / 1.094 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4241, allocations: 23.98 kB / 1.095 GB, free: 60 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001321/0.4242, allocations: 136.3 kB / 1.095 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4242, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004066/0.4246, allocations: 107.8 kB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (enaDed.ini.y,enaDedReq.ini.y,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDed.edg.y,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,enaDedReq.edg.y,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.000204/0.4248, allocations: 129.5 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009652/0.4258, allocations: 0.6404 MB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4258, allocations: 0 / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.4261, allocations: 164.4 kB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4265, allocations: 52.16 kB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.4275, allocations: 0.5607 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4279, allocations: 0.7564 MB / 1.097 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.024e-05/0.428, allocations: 26.28 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.4281, allocations: 35.42 kB / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.4281, allocations: 0 / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.009821/0.4379, allocations: 4.792 MB / 1.102 GB, free: 8.621 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches