Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 65.66 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4211, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004944/0.4261, allocations: 2.789 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.4293, allocations: 1.621 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.4297, allocations: 15.88 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.4302, allocations: 107.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.4308, allocations: 194.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4318, allocations: 391 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.4325, allocations: 0.5538 MB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.4328, allocations: 137.7 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.4331, allocations: 223.1 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.4334, allocations: 206.9 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.4335, allocations: 44 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.4337, allocations: 111.9 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4338, allocations: 107.6 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.434, allocations: 159.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008116/0.4348, allocations: 0.6225 MB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4348, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4348, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.4348, allocations: 7.938 kB / 1.334 GB, free: 10.22 MB / 1.029 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.001427/0.4363, allocations: 0.7397 MB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4363, allocations: 12.03 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.275e-05/0.4363, allocations: 4.844 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.4364, allocations: 66.72 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.4367, allocations: 76.55 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.4374, allocations: 395.6 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.4375, allocations: 24.59 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.4375, allocations: 24 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.4382, allocations: 414.1 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4382, allocations: 4 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.4382, allocations: 12 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4382, allocations: 8 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.4387, allocations: 209.8 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.4402, allocations: 0.9915 MB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.4408, allocations: 238.7 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.441, allocations: 109.8 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4411, allocations: 8 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003866/0.4415, allocations: 165.3 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.4415, allocations: 3.938 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008905/0.4424, allocations: 354.8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.4424, allocations: 106.8 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.443, allocations: 465.9 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.443, allocations: 29.7 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.4433, allocations: 232.7 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.4433, allocations: 79.38 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4434, allocations: 49.7 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.4437, allocations: 358.8 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.4439, allocations: 83.95 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.4442, allocations: 240.7 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.4447, allocations: 226.5 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4447, allocations: 0 / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006343/0.4453, allocations: 307.6 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4454, allocations: 8 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4454, allocations: 0 / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4454, allocations: 4 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.4456, allocations: 52.06 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4457, allocations: 7.984 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4458, allocations: 31.78 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.4459, allocations: 15.98 kB / 1.34 GB, free: 3.828 MB / 1.029 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.0002277/0.4461, allocations: 180.4 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.4462, allocations: 43.72 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.4469, allocations: 297.4 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4469, allocations: 0 / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4469, allocations: 4 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4469, allocations: 0 / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.4473, allocations: 360.3 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4473, allocations: 0 / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.4475, allocations: 35.97 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4475, allocations: 0 / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.4476, allocations: 11.98 kB / 1.34 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4476, allocations: 4 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4476, allocations: 0 / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.4485, allocations: 440.9 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4486, allocations: 71.59 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.4487, allocations: 8 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4489, allocations: 19.98 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.4489, allocations: 19.95 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.449, allocations: 12.06 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003845/0.4493, allocations: 331.1 kB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4493, allocations: 0 / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003415/0.4497, allocations: 71.89 kB / 1.341 GB, free: 1.883 MB / 1.029 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.002792/0.4525, allocations: 1.325 MB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005758/0.453, allocations: 225.8 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4531, allocations: 0 / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.4533, allocations: 107.9 kB / 1.343 GB, free: 408 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.4539, allocations: 110.1 kB / 1.343 GB, free: 304 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.4591, allocations: 3.485 MB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.4594, allocations: 215.4 kB / 1.347 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.4596, allocations: 51.25 kB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.4598, allocations: 151.4 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of SimCode: time 8.11e-07/0.4598, allocations: 0 / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.5051, allocations: 9.844 MB / 1.357 GB, free: 2.648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.78, allocations: 4.203 kB / 1.357 GB, free: 2.648 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.736182944034226]