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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007735/0.007735, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002261/0.002261, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 482.4 MB / 0.7548 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.44 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.284, allocations: 162.2 MB / 1.241 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002388/0.2864, allocations: 1.111 MB / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2884, allocations: 1.533 MB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2886, allocations: 4 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.2887, allocations: 27.61 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2888, allocations: 43.58 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.29, allocations: 500 kB / 1.245 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.2906, allocations: 0.585 MB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2909, allocations: 136.6 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.2911, allocations: 223.5 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.2914, allocations: 223.2 kB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-05/0.2915, allocations: 56 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2917, allocations: 71.98 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.2918, allocations: 83.8 kB / 1.246 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.292, allocations: 211.2 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.2926, allocations: 0.5764 MB / 1.247 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2926, allocations: 0 / 1.247 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2926, allocations: 0 / 1.247 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.2927, allocations: 0 / 1.247 GB, free: 3.949 MB / 0.9669 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.001062/0.2937, allocations: 0.7218 MB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2938, allocations: 8.031 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.2938, allocations: 62.72 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.294, allocations: 48.73 kB / 1.247 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2944, allocations: 304.4 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.2945, allocations: 28.94 kB / 1.248 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.2946, allocations: 44.36 kB / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.295, allocations: 249.3 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.295, allocations: 3.938 kB / 1.248 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.2951, allocations: 19.98 kB / 1.248 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2951, allocations: 8 kB / 1.248 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.2954, allocations: 162.2 kB / 1.248 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2969, allocations: 0.9152 MB / 1.249 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.2974, allocations: 234.6 kB / 1.249 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.2975, allocations: 92.8 kB / 1.249 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2976, allocations: 4 kB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.298, allocations: 253.2 kB / 1.25 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.298, allocations: 0 / 1.25 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0008194/0.2988, allocations: 440.4 kB / 1.25 GB, free: 180 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2989, allocations: 55.41 kB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.2991, allocations: 210.5 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.2992, allocations: 41.7 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2993, allocations: 156.8 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.2994, allocations: 79.38 kB / 1.251 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.2997, allocations: 134 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2998, allocations: 338.8 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.3002, allocations: 164.7 kB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.3006, allocations: 261.5 kB / 1.252 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.3012, allocations: 422.4 kB / 1.252 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3012, allocations: 0 / 1.252 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001111/0.3024, allocations: 0.6169 MB / 1.253 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3025, allocations: 130.8 kB / 1.253 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3025, allocations: 4.281 kB / 1.253 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3025, allocations: 8 kB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.3026, allocations: 23.92 kB / 1.253 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3026, allocations: 8 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.3033, allocations: 131.6 kB / 1.253 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.3034, allocations: 27.98 kB / 1.253 GB, free: 13.2 MB / 0.9825 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.0002001/0.3036, allocations: 173.7 kB / 1.253 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3036, allocations: 27.8 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.3037, allocations: 30.64 kB / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3037, allocations: 96 / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3037, allocations: 11.94 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3037, allocations: 0 / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3048, allocations: 0.7682 MB / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3048, allocations: 0 / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.3049, allocations: 15.92 kB / 1.254 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3049, allocations: 0 / 1.254 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.3049, allocations: 11.98 kB / 1.254 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3049, allocations: 0 / 1.254 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3049, allocations: 7.938 kB / 1.254 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.3055, allocations: 432.3 kB / 1.254 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.3056, allocations: 100.9 kB / 1.254 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.3056, allocations: 12 kB / 1.254 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3058, allocations: 15.98 kB / 1.254 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.3059, allocations: 31.94 kB / 1.254 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.3059, allocations: 19.98 kB / 1.254 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001175/0.306, allocations: 136.3 kB / 1.255 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.306, allocations: 4 kB / 1.255 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004057/0.3065, allocations: 99.89 kB / 1.255 GB, free: 11.23 MB / 0.9825 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.0009654/0.3074, allocations: 0.996 MB / 1.256 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000906/0.3083, allocations: 0.6223 MB / 1.256 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3084, allocations: 4 kB / 1.256 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3086, allocations: 159.8 kB / 1.256 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3091, allocations: 58.67 kB / 1.256 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.3137, allocations: 3.349 MB / 1.26 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3141, allocations: 0.7603 MB / 1.26 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.848e-05/0.3142, allocations: 22.3 kB / 1.26 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3143, allocations: 91.02 kB / 1.261 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3143, allocations: 0 / 1.261 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.3444, allocations: 7.338 MB / 1.268 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.264, allocations: 6.625 kB / 1.268 GB, free: 13.75 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.fmu > 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.csv","/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