Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001252/0.001252, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.001479/0.001479, allocations: 214.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.029/1.029, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.995/1.995, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_13_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00095/0.00095, allocations: 75.89 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6294, allocations: 180 MB / 1.352 GB, free: 1.707 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003539/0.633, allocations: 2.783 MB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.6351, allocations: 1.625 MB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.6354, allocations: 19.88 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.6359, allocations: 103.2 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.6363, allocations: 190.9 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.6371, allocations: 395 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.6376, allocations: 0.5535 MB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.6378, allocations: 136 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.6381, allocations: 223.1 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.6383, allocations: 191 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.6383, allocations: 40 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.6385, allocations: 115.9 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.6386, allocations: 115.5 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6387, allocations: 159 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.6392, allocations: 0.6224 MB / 1.36 GB, free: 10.45 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6392, allocations: 0 / 1.36 GB, free: 10.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6392, allocations: 0 / 1.36 GB, free: 10.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.6392, allocations: 0 / 1.36 GB, free: 10.45 MB / 1.042 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.0009002/0.6401, allocations: 0.7514 MB / 1.36 GB, free: 9.656 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6402, allocations: 8.031 kB / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.6402, allocations: 58.73 kB / 1.36 GB, free: 9.582 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.6404, allocations: 76.53 kB / 1.36 GB, free: 9.508 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.641, allocations: 391.7 kB / 1.361 GB, free: 9.102 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.641, allocations: 24.78 kB / 1.361 GB, free: 9.078 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.641, allocations: 24 kB / 1.361 GB, free: 9.055 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.6415, allocations: 379.5 kB / 1.361 GB, free: 8.648 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6415, allocations: 0 / 1.361 GB, free: 8.648 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.6415, allocations: 8 kB / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6415, allocations: 8 kB / 1.361 GB, free: 8.633 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.6418, allocations: 217.8 kB / 1.361 GB, free: 8.418 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.6428, allocations: 0.9993 MB / 1.362 GB, free: 7.359 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.6432, allocations: 226.8 kB / 1.363 GB, free: 7.129 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.6433, allocations: 104.8 kB / 1.363 GB, free: 7.023 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.6434, allocations: 4 kB / 1.363 GB, free: 7.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.6436, allocations: 155.3 kB / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of pre-optimization done (n=23): time 2.175e-06/0.6436, allocations: 0 / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of matching and sorting (n=23): time 0.0005465/0.6441, allocations: 376 kB / 1.363 GB, free: 6.484 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.6442, allocations: 77.11 kB / 1.363 GB, free: 6.391 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.6445, allocations: 469.8 kB / 1.364 GB, free: 5.914 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.6446, allocations: 37.7 kB / 1.364 GB, free: 5.871 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.6447, allocations: 232.7 kB / 1.364 GB, free: 5.641 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.6447, allocations: 75.36 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.6448, allocations: 61.64 kB / 1.364 GB, free: 5.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.6449, allocations: 354.8 kB / 1.364 GB, free: 5.145 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.645, allocations: 83.95 kB / 1.365 GB, free: 5.062 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6452, allocations: 207.2 kB / 1.365 GB, free: 4.824 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.6455, allocations: 226.8 kB / 1.365 GB, free: 4.586 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6455, allocations: 0 / 1.365 GB, free: 4.586 MB / 1.042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000363/0.6458, allocations: 305 kB / 1.365 GB, free: 4.281 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6459, allocations: 10.33 kB / 1.365 GB, free: 4.273 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6459, allocations: 4 kB / 1.365 GB, free: 4.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6459, allocations: 0 / 1.365 GB, free: 4.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.646, allocations: 55.91 kB / 1.365 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.646, allocations: 0 / 1.365 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.6461, allocations: 31.83 kB / 1.365 GB, free: 4.184 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6461, allocations: 12 kB / 1.365 GB, free: 4.172 MB / 1.042 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.0001512/0.6463, allocations: 186.3 kB / 1.365 GB, free: 3.984 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.6463, allocations: 47.66 kB / 1.366 GB, free: 3.938 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.6467, allocations: 292.1 kB / 1.366 GB, free: 3.652 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6467, allocations: 4 kB / 1.366 GB, free: 3.648 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6467, allocations: 0 / 1.366 GB, free: 3.648 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6467, allocations: 3.984 kB / 1.366 GB, free: 3.645 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.647, allocations: 348.4 kB / 1.366 GB, free: 3.262 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.647, allocations: 4 kB / 1.366 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.6471, allocations: 43.91 kB / 1.366 GB, free: 3.215 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6471, allocations: 0 / 1.366 GB, free: 3.215 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.6471, allocations: 4 kB / 1.366 GB, free: 3.211 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6471, allocations: 0 / 1.366 GB, free: 3.211 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6472, allocations: 7.922 kB / 1.366 GB, free: 3.203 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.6477, allocations: 436.4 kB / 1.367 GB, free: 2.758 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.6478, allocations: 75.7 kB / 1.367 GB, free: 2.684 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.6478, allocations: 8 kB / 1.367 GB, free: 2.676 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.6479, allocations: 11.98 kB / 1.367 GB, free: 2.664 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.6479, allocations: 15.97 kB / 1.367 GB, free: 2.648 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.648, allocations: 12 kB / 1.367 GB, free: 2.637 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000243/0.6482, allocations: 327.1 kB / 1.367 GB, free: 2.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6482, allocations: 4 kB / 1.367 GB, free: 2.316 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000236/0.6484, allocations: 83.77 kB / 1.367 GB, free: 2.234 MB / 1.042 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.001454/0.6499, allocations: 1.324 MB / 1.368 GB, free: 1.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.6502, allocations: 206.5 kB / 1.369 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6502, allocations: 320 / 1.369 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6504, allocations: 115.8 kB / 1.369 GB, free: 0.7578 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.6507, allocations: 119.4 kB / 1.369 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.6539, allocations: 3.492 MB / 1.372 GB, free: 13.04 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.654, allocations: 211.4 kB / 1.372 GB, free: 12.81 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.6541, allocations: 55.25 kB / 1.373 GB, free: 12.76 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6543, allocations: 151.4 kB / 1.373 GB, free: 12.61 MB / 1.057 GB Notification: Performance of SimCode: time 5.01e-07/0.6543, allocations: 0 / 1.373 GB, free: 12.61 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08717/0.7415, allocations: 10.09 MB / 1.383 GB, free: 2.703 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/8.017, allocations: 0 / 1.383 GB, free: 2.703 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu) > Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy.pipe ; mkfifo Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 ../Buildings_13_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu) > Buildings_13_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.858404814265668]