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.004701/0.004701, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001393/0.001393, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 2.407/2.407, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5874, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003937/0.5914, allocations: 2.927 MB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.5936, allocations: 1.516 MB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.5937, allocations: 11.94 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.5941, allocations: 111.1 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.5944, allocations: 131.1 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.5952, allocations: 416.3 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00052/0.5957, allocations: 0.5305 MB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.596, allocations: 209.7 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.5963, allocations: 199.1 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.5965, allocations: 203 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.5966, allocations: 44 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.5968, allocations: 103.9 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5969, allocations: 95.69 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.5971, allocations: 218.7 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.5977, allocations: 0.6027 MB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5977, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5977, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5977, allocations: 0 / 1.227 GB, free: 10.73 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.001113/0.5988, allocations: 0.8072 MB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.5989, allocations: 16.03 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.5989, allocations: 58.73 kB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.599, allocations: 52.61 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.5996, allocations: 450.7 kB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5996, allocations: 24.69 kB / 1.229 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.5997, allocations: 28 kB / 1.229 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.6003, allocations: 335.9 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6003, allocations: 0 / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.6003, allocations: 12 kB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.6003, allocations: 8 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.6008, allocations: 218.1 kB / 1.229 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.6021, allocations: 1.089 MB / 1.23 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.6026, allocations: 234.9 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.6029, allocations: 116.8 kB / 1.231 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.6029, allocations: 4 kB / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.6032, allocations: 155.2 kB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.6032, allocations: 0 / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0007719/0.604, allocations: 359.5 kB / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.6041, allocations: 102.8 kB / 1.231 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.6046, allocations: 453.8 kB / 1.232 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6046, allocations: 33.7 kB / 1.232 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.6048, allocations: 236.6 kB / 1.232 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.6048, allocations: 75.38 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.6049, allocations: 57.64 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6051, allocations: 354.8 kB / 1.232 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.6053, allocations: 87.95 kB / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.6056, allocations: 160.1 kB / 1.233 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.606, allocations: 230.7 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.606, allocations: 0 / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005679/0.6066, allocations: 307.6 kB / 1.233 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.6066, allocations: 4 kB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6066, allocations: 4 kB / 1.233 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.6067, allocations: 0 / 1.233 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.6069, allocations: 55.91 kB / 1.233 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6069, allocations: 4 kB / 1.233 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.6071, allocations: 31.97 kB / 1.233 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6071, allocations: 11.94 kB / 1.233 GB, free: 4.316 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.0001787/0.6073, allocations: 179 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.6073, allocations: 47.66 kB / 1.233 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.6074, allocations: 47.83 kB / 1.233 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6074, allocations: 4 kB / 1.233 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6074, allocations: 0 / 1.233 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6074, allocations: 0 / 1.233 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.6078, allocations: 417.2 kB / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6078, allocations: 0 / 1.234 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.608, allocations: 43.91 kB / 1.234 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6081, allocations: 0 / 1.234 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.6081, allocations: 8 kB / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6081, allocations: 4 kB / 1.234 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.6081, allocations: 0 / 1.234 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.6089, allocations: 424.4 kB / 1.234 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.609, allocations: 140.8 kB / 1.234 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.6091, allocations: 11.98 kB / 1.234 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6092, allocations: 4 kB / 1.234 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.6093, allocations: 19.97 kB / 1.234 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.6093, allocations: 15.98 kB / 1.235 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000327/0.6097, allocations: 323.1 kB / 1.235 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6097, allocations: 0 / 1.235 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002893/0.61, allocations: 79.78 kB / 1.235 GB, free: 2.492 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.002318/0.6123, allocations: 1.287 MB / 1.236 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.6128, allocations: 223.3 kB / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6128, allocations: 4 kB / 1.236 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.613, allocations: 108.1 kB / 1.236 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6135, allocations: 123 kB / 1.237 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.6178, allocations: 3.42 MB / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.6182, allocations: 0.811 MB / 1.241 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000157/0.6184, allocations: 55.2 kB / 1.241 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6186, allocations: 151.3 kB / 1.241 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.6186, allocations: 0 / 1.241 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.296/1.914, allocations: 8.994 MB / 1.25 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/13.12, allocations: 12.28 kB / 1.25 GB, free: 3.566 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=400 --tolerance=1e-06 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.mat","/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