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.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.0008286/0.0008286, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008972/0.0008972, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8686/0.8686, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.734e-05, allocations: 8.891 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002911/0.002928, allocations: 2.77 MB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.00474, allocations: 1.628 MB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.004923, allocations: 15.88 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.005271, allocations: 107.1 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.005763, allocations: 186.8 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.006325, allocations: 408.8 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.006717, allocations: 0.5537 MB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.006927, allocations: 150.2 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.007225, allocations: 295.2 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.007394, allocations: 155.5 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.007434, allocations: 40 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.007579, allocations: 119.8 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.007671, allocations: 103.6 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.007765, allocations: 135.5 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.008243, allocations: 0.6191 MB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.008245, allocations: 4 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008246, allocations: 7.938 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.008252, allocations: 0 / 1.007 GB, free: 6.219 MB / 0.9636 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.0008129/0.009065, allocations: 0.7281 MB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.0091, allocations: 12.75 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.009152, allocations: 66.66 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.009309, allocations: 84.53 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.009745, allocations: 383 kB / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.009766, allocations: 21.03 kB / 1.008 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.009799, allocations: 24.38 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.01017, allocations: 383.7 kB / 1.008 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01018, allocations: 4 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.0102, allocations: 8 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01021, allocations: 8 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.0105, allocations: 213.8 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.01135, allocations: 0.9876 MB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.01173, allocations: 230.8 kB / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.01186, allocations: 108.8 kB / 1.01 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.01188, allocations: 0 / 1.01 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.0121, allocations: 159.9 kB / 1.01 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=23): time 1.273e-06/0.0121, allocations: 0 / 1.01 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.0004948/0.01259, allocations: 358.8 kB / 1.01 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.01263, allocations: 89.03 kB / 1.01 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.01296, allocations: 461.9 kB / 1.011 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.01298, allocations: 37.64 kB / 1.011 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.01324, allocations: 240.6 kB / 1.011 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.01328, allocations: 75.33 kB / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.01334, allocations: 53.69 kB / 1.011 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.01343, allocations: 354.8 kB / 1.012 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.01356, allocations: 87.95 kB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01372, allocations: 206.2 kB / 1.012 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01398, allocations: 219.3 kB / 1.012 GB, free: 404 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01398, allocations: 0 / 1.012 GB, free: 404 kB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003445/0.01433, allocations: 308.1 kB / 1.012 GB, free: 92 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01434, allocations: 7.938 kB / 1.012 GB, free: 84 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01435, allocations: 0 / 1.012 GB, free: 84 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.01436, allocations: 4 kB / 1.012 GB, free: 80 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01448, allocations: 60.06 kB / 1.013 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01449, allocations: 3.984 kB / 1.013 GB, free: 16 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.01458, allocations: 27.92 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.0146, allocations: 11.98 kB / 1.013 GB, free: 15.97 MB / 0.9792 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.0001258/0.01472, allocations: 175.2 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01476, allocations: 43.72 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.01514, allocations: 305.3 kB / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01514, allocations: 4 kB / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01514, allocations: 3.938 kB / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01515, allocations: 0 / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.01539, allocations: 348.4 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01539, allocations: 4 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01549, allocations: 39.97 kB / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0155, allocations: 0 / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01551, allocations: 11.92 kB / 1.013 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01551, allocations: 4 kB / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01551, allocations: 0 / 1.013 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.01601, allocations: 435.5 kB / 1.014 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.01609, allocations: 67.66 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.01612, allocations: 11.94 kB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.01619, allocations: 11.98 kB / 1.014 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.01624, allocations: 23.95 kB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.01626, allocations: 12.06 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000232/0.01649, allocations: 327.1 kB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.01649, allocations: 0 / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002144/0.01671, allocations: 83.83 kB / 1.014 GB, free: 14.04 MB / 0.9792 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.001274/0.01798, allocations: 1.328 MB / 1.016 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.0183, allocations: 217.5 kB / 1.016 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.0183, allocations: 0 / 1.016 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.01844, allocations: 107.9 kB / 1.016 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01875, allocations: 114.3 kB / 1.016 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.02185, allocations: 3.493 MB / 1.02 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.02198, allocations: 219.4 kB / 1.02 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000121/0.0221, allocations: 55.25 kB / 1.02 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.02225, allocations: 152.4 kB / 1.02 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.02225, allocations: 0 / 1.02 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.0447, allocations: 10.21 MB / 1.03 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.693, allocations: 7.844 kB / 1.03 GB, free: 14.37 MB / 0.9948 GB " [Timeout remaining time 292] (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 --stepSize=0.432 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.64718976803124]