Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_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.007456/0.007456, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001799/0.001799, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 57.66 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.227, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003968/0.231, allocations: 2.923 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2332, allocations: 1.508 MB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2335, allocations: 11.94 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.2339, allocations: 111.1 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.2342, allocations: 143.1 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.2351, allocations: 408.5 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.2356, allocations: 0.538 MB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.2359, allocations: 209.4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2361, allocations: 211.1 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2363, allocations: 199 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.2364, allocations: 44 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2366, allocations: 99.95 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2367, allocations: 115.5 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2369, allocations: 206.7 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.2375, allocations: 0.6069 MB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2375, allocations: 0 / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2375, allocations: 0 / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2375, allocations: 4 kB / 1.095 GB, free: 10.7 MB / 0.8575 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.00114/0.2387, allocations: 0.8033 MB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2387, allocations: 12.03 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.2388, allocations: 62.72 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.2389, allocations: 56.56 kB / 1.096 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.2395, allocations: 446.8 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.2395, allocations: 20.69 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.2396, allocations: 28 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.2402, allocations: 331.9 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2402, allocations: 0 / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.2402, allocations: 12 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2402, allocations: 8 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.2407, allocations: 214.1 kB / 1.097 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.242, allocations: 1.093 MB / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.2426, allocations: 244.5 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2429, allocations: 112.8 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2429, allocations: 7.984 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.2433, allocations: 156.3 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.2433, allocations: 0 / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008112/0.2441, allocations: 350.3 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2441, allocations: 110.8 kB / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.2446, allocations: 453.9 kB / 1.099 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2447, allocations: 29.7 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2448, allocations: 236.6 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.2449, allocations: 75.38 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.245, allocations: 57.7 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2451, allocations: 354.8 kB / 1.1 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2453, allocations: 83.95 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.2456, allocations: 161.1 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.2461, allocations: 223.1 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2461, allocations: 0 / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000589/0.2467, allocations: 307.1 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2467, allocations: 4 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2467, allocations: 7.938 kB / 1.1 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2467, allocations: 4 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.247, allocations: 47.91 kB / 1.1 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.247, allocations: 4 kB / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.2472, allocations: 31.77 kB / 1.101 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2472, allocations: 15.98 kB / 1.101 GB, free: 4.297 MB / 0.8575 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.0001768/0.2474, allocations: 177.9 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.2475, allocations: 55.64 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.393e-05/0.2476, allocations: 39.84 kB / 1.101 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2476, allocations: 4 kB / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2476, allocations: 0 / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2476, allocations: 0 / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.248, allocations: 421.2 kB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.248, allocations: 0 / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2482, allocations: 43.91 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2482, allocations: 0 / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2483, allocations: 11.98 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2483, allocations: 0 / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2483, allocations: 0 / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.2491, allocations: 422.6 kB / 1.102 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2493, allocations: 148.8 kB / 1.102 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.2493, allocations: 11.94 kB / 1.102 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2495, allocations: 11.98 kB / 1.102 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.2496, allocations: 23.97 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.2496, allocations: 7.938 kB / 1.102 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003353/0.2499, allocations: 319.1 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2499, allocations: 0 / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003177/0.2503, allocations: 71.89 kB / 1.102 GB, free: 2.469 MB / 0.8575 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.002166/0.2524, allocations: 1.285 MB / 1.103 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.253, allocations: 219.7 kB / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.253, allocations: 0 / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.2533, allocations: 115.8 kB / 1.104 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.2538, allocations: 114.4 kB / 1.104 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.2582, allocations: 3.426 MB / 1.107 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2585, allocations: 0.8148 MB / 1.108 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001937/0.2587, allocations: 51.25 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.2589, allocations: 143.4 kB / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of SimCode: time 1.583e-06/0.2589, allocations: 0 / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2853, allocations: 9.009 MB / 1.117 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.038, allocations: 2.688 kB / 1.117 GB, free: 3.504 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches