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.001938/0.001938, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 191.7 kB / 16.53 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 482.6 MB / 0.7549 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 65.48 kB / 0.9242 GB, free: 29.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2671, allocations: 162.3 MB / 1.083 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002544/0.2697, allocations: 1.099 MB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.2717, allocations: 1.529 MB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.2718, allocations: 4 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2719, allocations: 39.55 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.834e-05/0.2721, allocations: 43.62 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2731, allocations: 487.5 kB / 1.086 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.2738, allocations: 0.5887 MB / 1.086 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.274, allocations: 144.5 kB / 1.087 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.2743, allocations: 215.5 kB / 1.087 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2745, allocations: 191.3 kB / 1.087 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/0.2746, allocations: 56 kB / 1.087 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2747, allocations: 71.98 kB / 1.087 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.2748, allocations: 83.75 kB / 1.087 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.2751, allocations: 223.2 kB / 1.087 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.2757, allocations: 0.5534 MB / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2757, allocations: 0 / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2757, allocations: 0 / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2757, allocations: 0 / 1.088 GB, free: 7.527 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.001031/0.2767, allocations: 0.7105 MB / 1.089 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2768, allocations: 12.03 kB / 1.089 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.2769, allocations: 62.72 kB / 1.089 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.277, allocations: 44.55 kB / 1.089 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.2774, allocations: 304.8 kB / 1.089 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.2775, allocations: 28.92 kB / 1.089 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.2776, allocations: 48.36 kB / 1.089 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.278, allocations: 245.4 kB / 1.089 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.278, allocations: 7.875 kB / 1.089 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.2781, allocations: 15.98 kB / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2781, allocations: 4 kB / 1.089 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.2784, allocations: 162.1 kB / 1.089 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.2799, allocations: 0.9344 MB / 1.09 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.2804, allocations: 222.6 kB / 1.091 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.2806, allocations: 104.8 kB / 1.091 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2806, allocations: 7.984 kB / 1.091 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.281, allocations: 249.2 kB / 1.091 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.281, allocations: 0 / 1.091 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008102/0.2818, allocations: 435.7 kB / 1.091 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2819, allocations: 63.41 kB / 1.091 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2821, allocations: 198.5 kB / 1.092 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/0.2822, allocations: 49.69 kB / 1.092 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2824, allocations: 156.6 kB / 1.092 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2824, allocations: 67.06 kB / 1.092 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.2827, allocations: 138 kB / 1.092 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2828, allocations: 330.8 kB / 1.092 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.2832, allocations: 172.7 kB / 1.093 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.2836, allocations: 257.6 kB / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.2842, allocations: 413.9 kB / 1.093 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2842, allocations: 8 kB / 1.093 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001113/0.2853, allocations: 0.6263 MB / 1.094 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/0.2855, allocations: 134.8 kB / 1.094 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2855, allocations: 4 kB / 1.094 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2855, allocations: 4 kB / 1.094 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.2856, allocations: 23.92 kB / 1.094 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2856, allocations: 8.219 kB / 1.094 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/0.2864, allocations: 127.6 kB / 1.094 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.2864, allocations: 31.98 kB / 1.094 GB, free: 0.7812 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.000204/0.2866, allocations: 177.7 kB / 1.094 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.2867, allocations: 27.73 kB / 1.094 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.2868, allocations: 22.66 kB / 1.094 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2868, allocations: 4 kB / 1.094 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2868, allocations: 0 / 1.094 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2868, allocations: 3.984 kB / 1.094 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.2878, allocations: 0.7754 MB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2878, allocations: 0 / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.2879, allocations: 15.94 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2879, allocations: 0 / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2879, allocations: 7.984 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2879, allocations: 0 / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.288, allocations: 0 / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.2885, allocations: 443 kB / 1.096 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.2886, allocations: 96.83 kB / 1.096 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2887, allocations: 12.08 kB / 1.096 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2888, allocations: 15.92 kB / 1.096 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.2889, allocations: 35.94 kB / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2889, allocations: 27.92 kB / 1.096 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001133/0.2891, allocations: 136.3 kB / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2891, allocations: 0 / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004164/0.2895, allocations: 111.8 kB / 1.096 GB, free: 14.8 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.0009603/0.2905, allocations: 0.992 MB / 1.097 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009748/0.2914, allocations: 0.6304 MB / 1.098 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2915, allocations: 4 kB / 1.098 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2917, allocations: 155.8 kB / 1.098 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.2921, allocations: 44.12 kB / 1.098 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.2967, allocations: 3.333 MB / 1.101 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2971, allocations: 0.7603 MB / 1.102 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.019e-05/0.2972, allocations: 30.28 kB / 1.102 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2974, allocations: 83.41 kB / 1.102 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2974, allocations: 0 / 1.102 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3273, allocations: 7.275 MB / 1.109 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.159, allocations: 12.2 kB / 1.109 GB, free: 1.391 MB / 0.8575 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