Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.008541/0.008541, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002137/0.002137, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.706/1.706, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.12/5.12, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003169/0.00317, allocations: 63.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.245, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.009263/1.254, allocations: 2.933 MB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00507/1.259, allocations: 1.512 MB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/1.26, allocations: 15.94 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/1.261, allocations: 103.1 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007043/1.261, allocations: 147 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/1.263, allocations: 410.6 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001099/1.264, allocations: 0.5382 MB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006462/1.265, allocations: 201.7 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/1.266, allocations: 203.1 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/1.266, allocations: 195 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/1.266, allocations: 40 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/1.267, allocations: 103.9 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/1.267, allocations: 103.7 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/1.267, allocations: 210.7 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/1.269, allocations: 0.6026 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/1.269, allocations: 3.984 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.269, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.269, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002286/1.271, allocations: 0.8073 MB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.271, allocations: 11.97 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/1.271, allocations: 62.72 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/1.271, allocations: 56.61 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.273, allocations: 446.8 kB / 1.229 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/1.273, allocations: 24.69 kB / 1.229 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/1.273, allocations: 27.94 kB / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.274, allocations: 324 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.274, allocations: 8 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/1.274, allocations: 8 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.274, allocations: 11.94 kB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/1.275, allocations: 210.1 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/1.277, allocations: 1.093 MB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.279, allocations: 234.9 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/1.279, allocations: 120.7 kB / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/1.279, allocations: 4 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/1.28, allocations: 162.1 kB / 1.231 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 4.979e-06/1.28, allocations: 0 / 1.231 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001769/1.282, allocations: 353.1 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/1.282, allocations: 106.8 kB / 1.231 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.283, allocations: 453.8 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/1.283, allocations: 33.7 kB / 1.232 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/1.284, allocations: 232.7 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.284, allocations: 79.31 kB / 1.232 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.284, allocations: 61.59 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002983/1.284, allocations: 350.8 kB / 1.232 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/1.285, allocations: 83.95 kB / 1.232 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/1.285, allocations: 168.2 kB / 1.233 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/1.286, allocations: 227.3 kB / 1.233 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.286, allocations: 0 / 1.233 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001323/1.288, allocations: 304.2 kB / 1.233 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.288, allocations: 8 kB / 1.233 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.288, allocations: 0 / 1.233 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.288, allocations: 4 kB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/1.288, allocations: 51.91 kB / 1.233 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/1.288, allocations: 7.984 kB / 1.233 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/1.289, allocations: 31.77 kB / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/1.289, allocations: 11.98 kB / 1.233 GB, free: 4.32 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0005124/1.289, allocations: 175 kB / 1.233 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.29, allocations: 47.66 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/1.29, allocations: 43.84 kB / 1.233 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.29, allocations: 4 kB / 1.233 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.29, allocations: 3.938 kB / 1.233 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.29, allocations: 3.984 kB / 1.233 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/1.291, allocations: 417.2 kB / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.291, allocations: 0 / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/1.291, allocations: 35.98 kB / 1.234 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.291, allocations: 4 kB / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/1.291, allocations: 7.984 kB / 1.234 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.291, allocations: 4 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.291, allocations: 0 / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.293, allocations: 428.4 kB / 1.234 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/1.293, allocations: 140.9 kB / 1.234 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/1.293, allocations: 7.938 kB / 1.234 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.294, allocations: 15.98 kB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.294, allocations: 19.97 kB / 1.234 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.294, allocations: 8 kB / 1.235 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005875/1.294, allocations: 319.1 kB / 1.235 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.91e-07/1.294, allocations: 0 / 1.235 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005915/1.295, allocations: 83.78 kB / 1.235 GB, free: 2.496 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004019/1.299, allocations: 1.283 MB / 1.236 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009944/1.3, allocations: 227.6 kB / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.3, allocations: 0 / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/1.301, allocations: 115.9 kB / 1.236 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/1.301, allocations: 100.4 kB / 1.237 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/1.311, allocations: 3.433 MB / 1.24 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/1.312, allocations: 0.8109 MB / 1.241 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003693/1.312, allocations: 55.25 kB / 1.241 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.312, allocations: 139.4 kB / 1.241 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of SimCode: time 3.787e-06/1.312, allocations: 0 / 1.241 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/1.457, allocations: 9.015 MB / 1.25 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.46, allocations: 2.5 kB / 1.25 GB, free: 3.574 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches