Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_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.001284/0.001284, 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.001243/0.001243, allocations: 194.2 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.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.503/2.503, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.77 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2332, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003785/0.237, allocations: 2.943 MB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2391, allocations: 1.508 MB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.2393, allocations: 11.94 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.2396, allocations: 107.1 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.24, allocations: 139.1 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.2408, allocations: 410.2 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.2412, allocations: 0.5305 MB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.2415, allocations: 205.1 kB / 1.059 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.2417, allocations: 203.1 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2419, allocations: 195 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.242, allocations: 40 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2422, allocations: 103.9 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2423, allocations: 107.7 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2424, allocations: 214.7 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.2429, allocations: 0.5765 MB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2429, allocations: 0 / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2429, allocations: 0 / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.243, allocations: 8 kB / 1.06 GB, free: 0.9688 MB / 0.8106 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.001019/0.244, allocations: 0.7959 MB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.244, allocations: 8.625 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.2441, allocations: 62.73 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/0.2442, allocations: 48.55 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.2447, allocations: 434.4 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2447, allocations: 24.69 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.2448, allocations: 28 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2453, allocations: 331.9 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2453, allocations: 3.938 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.2453, allocations: 12 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2453, allocations: 4 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.2458, allocations: 210.1 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.247, allocations: 1.116 MB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.2475, allocations: 234.9 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.2477, allocations: 116.8 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2478, allocations: 3.984 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.2481, allocations: 151.3 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 2.865e-06/0.2481, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0007392/0.2489, allocations: 363.6 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.2489, allocations: 106.8 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.2493, allocations: 449.9 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2494, allocations: 33.7 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.2495, allocations: 224.5 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.2496, allocations: 71 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.2497, allocations: 53.7 kB / 1.065 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2498, allocations: 358.8 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.25, allocations: 83.95 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2502, allocations: 160.2 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.2507, allocations: 220.8 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2507, allocations: 4 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000539/0.2512, allocations: 303 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2512, allocations: 4 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2512, allocations: 4 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2513, allocations: 0 / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.2515, allocations: 56.06 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2515, allocations: 4 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2517, allocations: 31.67 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2517, allocations: 16.03 kB / 1.066 GB, free: 10.59 MB / 0.8262 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.0001607/0.2519, allocations: 183.2 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.2519, allocations: 43.47 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.252, allocations: 43.83 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.252, allocations: 0 / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.252, allocations: 8 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.252, allocations: 0 / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2524, allocations: 421.1 kB / 1.067 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2524, allocations: 3.938 kB / 1.067 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2526, allocations: 35.97 kB / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2526, allocations: 0 / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.2526, allocations: 11.92 kB / 1.067 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2526, allocations: 7.938 kB / 1.067 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2526, allocations: 0 / 1.067 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.2534, allocations: 422.7 kB / 1.067 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2535, allocations: 140.6 kB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.2536, allocations: 8 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2537, allocations: 11.98 kB / 1.067 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.2538, allocations: 20.03 kB / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.2538, allocations: 16 kB / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003047/0.2541, allocations: 319.1 kB / 1.068 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2541, allocations: 0 / 1.068 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002924/0.2544, allocations: 71.84 kB / 1.068 GB, free: 8.773 MB / 0.8262 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.001771/0.2562, allocations: 1.272 MB / 1.069 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.2568, allocations: 231.6 kB / 1.069 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2568, allocations: 320 / 1.069 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.257, allocations: 115.8 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.2575, allocations: 118.3 kB / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.2615, allocations: 3.472 MB / 1.073 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2618, allocations: 0.8148 MB / 1.073 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.262, allocations: 51.25 kB / 1.074 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.2622, allocations: 143.4 kB / 1.074 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2622, allocations: 4 kB / 1.074 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.344, allocations: 8.839 MB / 1.082 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/10.31, allocations: 4.375 kB / 1.082 GB, free: 9.961 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches