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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001169/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001133, allocations: 195.2 kB / 16.14 MB, free: 6.719 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 66.88 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.219, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003673/0.2227, allocations: 2.964 MB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2247, allocations: 1.488 MB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2248, allocations: 15.88 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.2252, allocations: 83.47 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.2254, allocations: 119.4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.2261, allocations: 380.6 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.2265, allocations: 483.3 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.2268, allocations: 193.1 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.227, allocations: 179 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2272, allocations: 183 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2272, allocations: 16 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2273, allocations: 71.95 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.2274, allocations: 83.56 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2276, allocations: 190.7 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.228, allocations: 0.5569 MB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.228, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.228, allocations: 7.938 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2281, allocations: 0 / 1.059 GB, free: 1.18 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.001001/0.2291, allocations: 0.7921 MB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2291, allocations: 12.02 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.2292, allocations: 62.72 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.2292, allocations: 52.38 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.2298, allocations: 434.5 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2298, allocations: 24.69 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.2298, allocations: 27.94 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.2304, allocations: 328 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2304, allocations: 4 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.2304, allocations: 15.94 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2304, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.2309, allocations: 206.1 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.232, allocations: 1.108 MB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.2326, allocations: 242.9 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.2328, allocations: 112.8 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2329, allocations: 11.86 kB / 1.062 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.2332, allocations: 154.8 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.2332, allocations: 0 / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0007265/0.2339, allocations: 352.9 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.234, allocations: 102.8 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.2344, allocations: 453.8 kB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2344, allocations: 33.7 kB / 1.063 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2346, allocations: 232.4 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.2346, allocations: 67.02 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2347, allocations: 53.69 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2349, allocations: 358.8 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2351, allocations: 83.95 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2353, allocations: 147.7 kB / 1.064 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.2357, allocations: 227.7 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2357, allocations: 4 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005209/0.2362, allocations: 304.7 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2363, allocations: 4 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2363, allocations: 7.938 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.2363, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2365, allocations: 55.91 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2365, allocations: 8.094 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.2367, allocations: 35.67 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2367, allocations: 8 kB / 1.065 GB, free: 10.8 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.0001651/0.2369, allocations: 173.8 kB / 1.065 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.237, allocations: 39.47 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2371, allocations: 51.83 kB / 1.065 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2371, allocations: 3.938 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2371, allocations: 4 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2372, allocations: 4 kB / 1.065 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.2377, allocations: 417.1 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2377, allocations: 3.938 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.238, allocations: 39.97 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2381, allocations: 0 / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.2381, allocations: 4 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2381, allocations: 4 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2381, allocations: 3.984 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.2394, allocations: 422.6 kB / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2396, allocations: 144.6 kB / 1.066 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/0.2397, allocations: 15.98 kB / 1.066 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2399, allocations: 7.984 kB / 1.066 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.24, allocations: 19.97 kB / 1.066 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2401, allocations: 16.06 kB / 1.066 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000495/0.2406, allocations: 311.1 kB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2406, allocations: 0 / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004955/0.2411, allocations: 79.83 kB / 1.067 GB, free: 8.984 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.002854/0.244, allocations: 1.274 MB / 1.068 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007901/0.2448, allocations: 218.5 kB / 1.068 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2448, allocations: 3.938 kB / 1.068 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2452, allocations: 124.2 kB / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.246, allocations: 96.81 kB / 1.068 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/0.253, allocations: 3.581 MB / 1.072 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.2534, allocations: 0.8112 MB / 1.073 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.2538, allocations: 55.23 kB / 1.073 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.2541, allocations: 147.3 kB / 1.073 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.2541, allocations: 0 / 1.073 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.374/4.628, allocations: 8.493 MB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/4.629, allocations: 300.3 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/6.337, allocations: 0 / 1.081 GB, free: 10.05 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