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.006769/0.006769, 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.001832/0.001832, allocations: 191.6 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.395/1.395, 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.731/2.731, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 64.77 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002275/0.2882, allocations: 1.103 MB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2901, allocations: 1.537 MB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.2902, allocations: 4 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2904, allocations: 31.59 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2905, allocations: 43.58 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2916, allocations: 499.9 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.2922, allocations: 0.585 MB / 1.246 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.2925, allocations: 141.1 kB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.2927, allocations: 223.5 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.293, allocations: 215.2 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-05/0.2931, allocations: 60 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2933, allocations: 71.98 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.2933, allocations: 75.75 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.2936, allocations: 215.2 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.2942, allocations: 0.5764 MB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2942, allocations: 0 / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2942, allocations: 0 / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2942, allocations: 4 kB / 1.247 GB, free: 3.57 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.001046/0.2953, allocations: 0.7141 MB / 1.248 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2953, allocations: 8.031 kB / 1.248 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.2954, allocations: 66.66 kB / 1.248 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2955, allocations: 44.73 kB / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.296, allocations: 308.4 kB / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.296, allocations: 28.92 kB / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.2961, allocations: 56.3 kB / 1.248 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.2965, allocations: 245.4 kB / 1.248 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2966, allocations: 3.938 kB / 1.248 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2966, allocations: 19.92 kB / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2966, allocations: 7.938 kB / 1.249 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.2969, allocations: 162.2 kB / 1.249 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2983, allocations: 0.923 MB / 1.25 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.2988, allocations: 218.7 kB / 1.25 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.299, allocations: 92.78 kB / 1.25 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.299, allocations: 0 / 1.25 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.2994, allocations: 261.2 kB / 1.25 GB, free: 236 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.2994, allocations: 0 / 1.25 GB, free: 236 kB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0008115/0.3002, allocations: 435.5 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3003, allocations: 59.41 kB / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3005, allocations: 206.5 kB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.3006, allocations: 45.7 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3007, allocations: 156.8 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.3008, allocations: 79.36 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.301, allocations: 142 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3012, allocations: 330.8 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3016, allocations: 168.7 kB / 1.252 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.302, allocations: 261.5 kB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.3025, allocations: 417.5 kB / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3025, allocations: 0 / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001065/0.3036, allocations: 0.6209 MB / 1.253 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3037, allocations: 136.5 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3037, allocations: 0 / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3038, allocations: 8 kB / 1.253 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.3039, allocations: 23.92 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3039, allocations: 7.938 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.3045, allocations: 127.8 kB / 1.253 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.3046, allocations: 39.98 kB / 1.253 GB, free: 12.81 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.0001938/0.3048, allocations: 169.8 kB / 1.253 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.3049, allocations: 27.84 kB / 1.253 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.3049, allocations: 30.64 kB / 1.253 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3049, allocations: 4 kB / 1.253 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.305, allocations: 0 / 1.253 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.305, allocations: 0 / 1.253 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.306, allocations: 0.7768 MB / 1.254 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.306, allocations: 0 / 1.254 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.3061, allocations: 15.92 kB / 1.254 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3061, allocations: 96 / 1.254 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3061, allocations: 19.92 kB / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3061, allocations: 4 kB / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3061, allocations: 0 / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.3067, allocations: 428.3 kB / 1.255 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.3068, allocations: 104.9 kB / 1.255 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3068, allocations: 12 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3069, allocations: 15.92 kB / 1.255 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.307, allocations: 31.95 kB / 1.255 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3071, allocations: 23.98 kB / 1.255 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3072, allocations: 132.3 kB / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3072, allocations: 0 / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003948/0.3076, allocations: 103.8 kB / 1.255 GB, free: 10.84 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.0009378/0.3085, allocations: 0.9998 MB / 1.256 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008848/0.3094, allocations: 0.6204 MB / 1.257 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3095, allocations: 0 / 1.257 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3097, allocations: 155.9 kB / 1.257 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3101, allocations: 48.52 kB / 1.257 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.3146, allocations: 3.345 MB / 1.26 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.315, allocations: 0.7564 MB / 1.261 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.843e-05/0.3151, allocations: 30.22 kB / 1.261 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3152, allocations: 87.41 kB / 1.261 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3152, allocations: 0 / 1.261 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4514/0.7666, allocations: 7.351 MB / 1.268 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.052/9.819, allocations: 20.94 kB / 1.268 GB, free: 13.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.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