Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.89 kB / 1.056 GB, free: 2.512 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3547, allocations: 160.7 MB / 1.213 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.007834/0.3625, allocations: 2.947 MB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.3676, allocations: 1.531 MB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.3682, allocations: 11.94 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.3689, allocations: 99.2 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007819/0.3697, allocations: 151 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.3716, allocations: 418.5 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.3736, allocations: 0.5266 MB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.3742, allocations: 141.4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.3748, allocations: 211.1 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.3754, allocations: 203 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.3755, allocations: 40 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.376, allocations: 99.95 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.3763, allocations: 111.5 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.3767, allocations: 210.8 kB / 1.219 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.3781, allocations: 0.603 MB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3781, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3781, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.3782, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.9669 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.002702/0.3809, allocations: 0.8111 MB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.3809, allocations: 8.031 kB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.3811, allocations: 62.72 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3812, allocations: 52.61 kB / 1.221 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.3827, allocations: 450.8 kB / 1.221 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.3828, allocations: 28.69 kB / 1.221 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.3828, allocations: 24 kB / 1.221 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.384, allocations: 323.9 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.384, allocations: 3.938 kB / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.3841, allocations: 15.98 kB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3841, allocations: 11.94 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3852, allocations: 210.1 kB / 1.222 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.3882, allocations: 1.105 MB / 1.223 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3893, allocations: 222.9 kB / 1.223 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.3897, allocations: 108.8 kB / 1.223 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.3897, allocations: 0 / 1.223 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.3903, allocations: 160.8 kB / 1.223 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 3.116e-06/0.3903, allocations: 0 / 1.223 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.001473/0.3918, allocations: 359 kB / 1.224 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3919, allocations: 102.8 kB / 1.224 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.393, allocations: 449.9 kB / 1.224 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.3931, allocations: 37.7 kB / 1.224 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.3934, allocations: 228.7 kB / 1.225 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.3936, allocations: 75.36 kB / 1.225 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3937, allocations: 53.7 kB / 1.225 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003075/0.394, allocations: 354.8 kB / 1.225 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.3945, allocations: 83.95 kB / 1.225 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.395, allocations: 157.2 kB / 1.225 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.3959, allocations: 223.2 kB / 1.226 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3959, allocations: 0 / 1.226 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001159/0.397, allocations: 310.5 kB / 1.226 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3971, allocations: 4 kB / 1.226 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3971, allocations: 4 kB / 1.226 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3971, allocations: 0 / 1.226 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.3976, allocations: 55.89 kB / 1.226 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.3976, allocations: 7.938 kB / 1.226 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.398, allocations: 31.81 kB / 1.226 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.398, allocations: 12 kB / 1.226 GB, free: 3.781 MB / 0.9669 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.0003952/0.3984, allocations: 182.7 kB / 1.226 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3985, allocations: 47.66 kB / 1.226 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.3987, allocations: 39.84 kB / 1.226 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3987, allocations: 4 kB / 1.226 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3987, allocations: 0 / 1.226 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.3987, allocations: 3.984 kB / 1.226 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.3996, allocations: 417.2 kB / 1.227 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3996, allocations: 0 / 1.227 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.4, allocations: 39.91 kB / 1.227 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.4, allocations: 7.984 kB / 1.227 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.4001, allocations: 11.98 kB / 1.227 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4001, allocations: 0 / 1.227 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4001, allocations: 0 / 1.227 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.4015, allocations: 427.2 kB / 1.227 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.4017, allocations: 144.8 kB / 1.227 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.4018, allocations: 8 kB / 1.227 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.4021, allocations: 11.98 kB / 1.227 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4022, allocations: 19.97 kB / 1.227 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.4023, allocations: 8 kB / 1.227 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006108/0.4029, allocations: 319.1 kB / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4029, allocations: 0 / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005403/0.4034, allocations: 79.78 kB / 1.228 GB, free: 1.961 MB / 0.9669 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.003394/0.4068, allocations: 1.285 MB / 1.229 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008807/0.4077, allocations: 218.5 kB / 1.229 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4077, allocations: 0 / 1.229 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4081, allocations: 103.9 kB / 1.229 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.4088, allocations: 102.4 kB / 1.229 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.4148, allocations: 3.427 MB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4153, allocations: 0.8109 MB / 1.233 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.4156, allocations: 55.23 kB / 1.233 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4158, allocations: 143.4 kB / 1.234 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.4158, allocations: 0 / 1.234 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.4602, allocations: 9.051 MB / 1.242 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/9.432, allocations: 10.38 kB / 1.242 GB, free: 2.984 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.714464700780809]