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.0008555/0.0008555, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005165/0.005165, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.353/2.353, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 10.47 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2393, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002796/0.2421, allocations: 2.59 MB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.244, allocations: 1.454 MB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2442, allocations: 11.94 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.2445, allocations: 87.53 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.2447, allocations: 119.3 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.2454, allocations: 371.7 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.2458, allocations: 495.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.2461, allocations: 197.1 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.2463, allocations: 163 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2464, allocations: 151.1 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.2465, allocations: 11.94 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2466, allocations: 63.91 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.2467, allocations: 67.62 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2468, allocations: 192.5 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2473, allocations: 0.5451 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2473, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2473, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2473, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 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.0008923/0.2482, allocations: 0.7222 MB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.2482, allocations: 12.03 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.2483, allocations: 62.72 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.2484, allocations: 48.38 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.2488, allocations: 438.4 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2489, allocations: 24.69 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.2489, allocations: 24 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.2494, allocations: 331.9 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2495, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.2495, allocations: 8 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2495, allocations: 8 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.25, allocations: 222.1 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2511, allocations: 1.112 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.2516, allocations: 238.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2519, allocations: 120.8 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2519, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.2522, allocations: 155.3 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.2522, allocations: 3.938 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0007417/0.253, allocations: 362.3 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.253, allocations: 106.8 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.2535, allocations: 453.9 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2535, allocations: 29.7 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2537, allocations: 228.5 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.2537, allocations: 74.98 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2538, allocations: 33.7 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2539, allocations: 346.8 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2541, allocations: 87.95 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2543, allocations: 171.6 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.2547, allocations: 227.8 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2548, allocations: 4 kB / 1.071 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005326/0.2553, allocations: 313.7 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2553, allocations: 4 kB / 1.071 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2553, allocations: 4.156 kB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.2553, allocations: 8 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2556, allocations: 55.95 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2556, allocations: 0 / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2558, allocations: 39.75 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2558, allocations: 4 kB / 1.071 GB, free: 8.023 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.0001631/0.2559, allocations: 181.8 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.256, allocations: 55.31 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.2561, allocations: 43.83 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2561, allocations: 4 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2561, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2561, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.2565, allocations: 417.2 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2565, allocations: 0 / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2567, allocations: 39.91 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2567, allocations: 4 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2567, allocations: 11.98 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2567, allocations: 4 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2567, allocations: 0 / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.2575, allocations: 431 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2576, allocations: 148.5 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2577, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2578, allocations: 15.98 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.2579, allocations: 23.91 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2579, allocations: 8 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002879/0.2582, allocations: 319.2 kB / 1.073 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2582, allocations: 0 / 1.073 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002808/0.2585, allocations: 75.84 kB / 1.073 GB, free: 6.184 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.001721/0.2602, allocations: 1.288 MB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.2607, allocations: 227.7 kB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2607, allocations: 0 / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.261, allocations: 119.8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.2615, allocations: 110 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.2657, allocations: 3.624 MB / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.266, allocations: 0.8151 MB / 1.079 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.2662, allocations: 51.33 kB / 1.079 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.2664, allocations: 143.4 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.2664, allocations: 0 / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.313/3.579, allocations: 8.267 MB / 1.087 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/3.58, allocations: 296.9 kB / 1.087 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/5.668, allocations: 3.938 kB / 1.087 GB, free: 7.438 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