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.001765/0.001765, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.002066/0.002066, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.52 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7691, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002674/0.7718, allocations: 1.101 MB / 1.084 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.7741, allocations: 1.527 MB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.7744, allocations: 7.594 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.7746, allocations: 34.36 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.7749, allocations: 37.34 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.7765, allocations: 499.8 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.7778, allocations: 0.5749 MB / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.7782, allocations: 139.5 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006779/0.7789, allocations: 226.1 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.7795, allocations: 191.4 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003462/0.7798, allocations: 56.72 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.7802, allocations: 72.53 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.7804, allocations: 83.45 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.781, allocations: 212 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.7822, allocations: 0.5618 MB / 1.088 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7822, allocations: 0 / 1.088 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7822, allocations: 0 / 1.088 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.7822, allocations: 0 / 1.088 GB, free: 14.59 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.001874/0.7841, allocations: 0.7078 MB / 1.089 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7842, allocations: 13.69 kB / 1.089 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.7844, allocations: 43.25 kB / 1.089 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.7851, allocations: 309.5 kB / 1.089 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.7851, allocations: 33.28 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.7853, allocations: 44.62 kB / 1.089 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.7858, allocations: 246.7 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.7859, allocations: 192 / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.7859, allocations: 18.33 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.7859, allocations: 9.344 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.7863, allocations: 165.7 kB / 1.09 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.7881, allocations: 0.9258 MB / 1.091 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.7886, allocations: 226.7 kB / 1.091 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.7888, allocations: 85.75 kB / 1.091 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.7888, allocations: 1.906 kB / 1.091 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.7893, allocations: 270.1 kB / 1.091 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.7893, allocations: 0 / 1.091 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0009065/0.7902, allocations: 427.1 kB / 1.092 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.7903, allocations: 63.28 kB / 1.092 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.7906, allocations: 201.2 kB / 1.092 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.7907, allocations: 53.59 kB / 1.092 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.7908, allocations: 149 kB / 1.092 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.7909, allocations: 80.95 kB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.7912, allocations: 143.1 kB / 1.092 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7914, allocations: 331.5 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.7918, allocations: 166.8 kB / 1.093 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.7922, allocations: 257.6 kB / 1.093 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.7929, allocations: 424.7 kB / 1.093 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7929, allocations: 0 / 1.093 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001234/0.7941, allocations: 0.6228 MB / 1.094 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.7942, allocations: 131.4 kB / 1.094 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7943, allocations: 3.969 kB / 1.094 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.7943, allocations: 4.141 kB / 1.094 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.7944, allocations: 23.62 kB / 1.094 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7944, allocations: 9.156 kB / 1.094 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.7952, allocations: 129.2 kB / 1.094 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.7953, allocations: 32.44 kB / 1.094 GB, free: 10.66 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.000253/0.7956, allocations: 174.2 kB / 1.094 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.7957, allocations: 25.81 kB / 1.094 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.7957, allocations: 23.86 kB / 1.094 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7957, allocations: 3.219 kB / 1.094 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.7958, allocations: 5.156 kB / 1.094 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.7958, allocations: 2.109 kB / 1.094 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.797, allocations: 0.7737 MB / 1.095 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.797, allocations: 1.031 kB / 1.095 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.7971, allocations: 11.73 kB / 1.095 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7971, allocations: 2.828 kB / 1.095 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.7971, allocations: 11.61 kB / 1.095 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7971, allocations: 1.156 kB / 1.095 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7971, allocations: 3.938 kB / 1.095 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.7978, allocations: 435 kB / 1.096 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.7979, allocations: 104 kB / 1.096 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.7979, allocations: 14.78 kB / 1.096 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.7981, allocations: 10.11 kB / 1.096 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.7982, allocations: 37.44 kB / 1.096 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.7982, allocations: 19.16 kB / 1.096 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001315/0.7983, allocations: 140.9 kB / 1.096 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7983, allocations: 0 / 1.096 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004887/0.7988, allocations: 103.4 kB / 1.096 GB, free: 9.496 MB / 0.8419 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.0002137/0.7991, allocations: 138.4 kB / 1.096 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.8002, allocations: 0.6346 MB / 1.097 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8002, allocations: 0.9062 kB / 1.097 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.8005, allocations: 164.7 kB / 1.097 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.801, allocations: 49.78 kB / 1.097 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.802, allocations: 0.4987 MB / 1.097 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.8024, allocations: 0.7583 MB / 1.098 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.8025, allocations: 30.23 kB / 1.098 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.8025, allocations: 0 / 1.098 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of Templates: time 0.009853/0.8123, allocations: 4.131 MB / 1.102 GB, free: 7.41 MB / 0.8419 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=400 -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/jenkins1/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