Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 148 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.001082/0.001082, allocations: 195.3 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.034/2.034, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4672, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003253/0.4705, allocations: 2.92 MB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4722, allocations: 1.511 MB / 0.9541 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.4724, allocations: 13.28 kB / 0.9541 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.4727, allocations: 101.1 kB / 0.9542 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.4729, allocations: 137.1 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.4736, allocations: 421.7 kB / 0.9547 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.474, allocations: 0.5266 MB / 0.9552 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.4742, allocations: 205.9 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.4744, allocations: 203.2 kB / 0.9556 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.4746, allocations: 198.9 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.4746, allocations: 42.28 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.4748, allocations: 101.9 kB / 0.9559 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.4749, allocations: 104.4 kB / 0.956 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.475, allocations: 214.3 kB / 0.9562 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.4754, allocations: 0.5762 MB / 0.9568 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4754, allocations: 5.781 kB / 0.9568 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4754, allocations: 0 / 0.9568 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4754, allocations: 0 / 0.9568 GB, free: 3.707 MB / 0.7169 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.0008693/0.4763, allocations: 0.793 MB / 0.9576 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.4763, allocations: 13.56 kB / 0.9576 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.4764, allocations: 62.97 kB / 0.9576 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.4764, allocations: 54.41 kB / 0.9577 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.4769, allocations: 440.1 kB / 0.9581 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4769, allocations: 23.41 kB / 0.9581 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.4769, allocations: 30.22 kB / 0.9582 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4774, allocations: 328.2 kB / 0.9585 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4774, allocations: 0.9688 kB / 0.9585 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4774, allocations: 14.17 kB / 0.9585 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4775, allocations: 10.72 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.4779, allocations: 211.2 kB / 0.9587 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.4788, allocations: 1.099 MB / 0.9598 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.4794, allocations: 239.7 kB / 0.96 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.4796, allocations: 111 kB / 0.9601 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4796, allocations: 7.625 kB / 0.9601 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.4799, allocations: 151.5 kB / 0.9603 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.4799, allocations: 0 / 0.9603 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0006987/0.4806, allocations: 361.4 kB / 0.9606 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4806, allocations: 109.5 kB / 0.9607 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.481, allocations: 449.2 kB / 0.9611 GB, free: 308 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.481, allocations: 31.89 kB / 0.9612 GB, free: 272 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4812, allocations: 232.2 kB / 0.9614 GB, free: 60 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.4812, allocations: 76.22 kB / 0.9615 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.4813, allocations: 54.31 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4814, allocations: 353.7 kB / 0.9619 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4816, allocations: 90.08 kB / 0.9619 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4819, allocations: 154.4 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.4823, allocations: 219.8 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4823, allocations: 1.094 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000538/0.4829, allocations: 302.7 kB / 0.9626 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4829, allocations: 9.172 kB / 0.9626 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4829, allocations: 1.094 kB / 0.9626 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4829, allocations: 2.906 kB / 0.9626 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4832, allocations: 54.94 kB / 0.9627 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4832, allocations: 2.156 kB / 0.9627 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.4834, allocations: 34.86 kB / 0.9627 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.4834, allocations: 11.31 kB / 0.9627 GB, free: 15.09 MB / 0.7325 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.0001614/0.4835, allocations: 179.1 kB / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.4836, allocations: 47.69 kB / 0.9629 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.4837, allocations: 50.02 kB / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4837, allocations: 6.516 kB / 0.963 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4837, allocations: 0 / 0.963 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4837, allocations: 0 / 0.963 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.4841, allocations: 418.3 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4841, allocations: 0 / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.4843, allocations: 39.12 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4843, allocations: 0.875 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4843, allocations: 6.281 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4843, allocations: 1.312 kB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4843, allocations: 0 / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.4851, allocations: 420.1 kB / 0.9638 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4852, allocations: 143.1 kB / 0.964 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.4852, allocations: 6.281 kB / 0.964 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4854, allocations: 10.7 kB / 0.964 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4855, allocations: 20.28 kB / 0.964 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4855, allocations: 13.73 kB / 0.964 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002901/0.4858, allocations: 316 kB / 0.9643 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4858, allocations: 5.031 kB / 0.9643 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000291/0.4861, allocations: 71.84 kB / 0.9644 GB, free: 13.86 MB / 0.7325 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.001778/0.4879, allocations: 1.294 MB / 0.9656 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.4884, allocations: 235.1 kB / 0.9659 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4884, allocations: 1.094 kB / 0.9659 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4887, allocations: 115 kB / 0.966 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.4892, allocations: 106.1 kB / 0.9661 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.4932, allocations: 3.485 MB / 0.9695 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4935, allocations: 0.8134 MB / 0.9703 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.4937, allocations: 50.28 kB / 0.9703 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4939, allocations: 141.2 kB / 0.9705 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/0.4939, allocations: 0 / 0.9705 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5167/1.011, allocations: 8.842 MB / 0.9791 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/8.247, allocations: 12.42 kB / 0.9791 GB, free: 3.547 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches