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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5052, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003844/0.5091, allocations: 2.958 MB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.5111, allocations: 1.492 MB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.5113, allocations: 15.94 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.5116, allocations: 87.47 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.5119, allocations: 115.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.5126, allocations: 387.6 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.513, allocations: 495.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.5133, allocations: 197.1 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.5135, allocations: 171 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.5137, allocations: 191 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.5138, allocations: 16 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.5139, allocations: 63.97 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.514, allocations: 83.61 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.5142, allocations: 186.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.5146, allocations: 0.5589 MB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5146, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5147, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5147, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 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.001055/0.5157, allocations: 0.7883 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5158, allocations: 11.97 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.5158, allocations: 62.72 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.5159, allocations: 60.28 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.5164, allocations: 426.4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.5165, allocations: 24.69 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.5165, allocations: 35.92 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.517, allocations: 328 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5171, allocations: 0 / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.5171, allocations: 8 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5171, allocations: 15.88 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.5176, allocations: 210.1 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5188, allocations: 1.1 MB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.5193, allocations: 243.7 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.5196, allocations: 112.8 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.5196, allocations: 3.984 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.5199, allocations: 159.1 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.52, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0007545/0.5207, allocations: 358.1 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.5208, allocations: 102.8 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.5212, allocations: 453.8 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5213, allocations: 33.7 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.5214, allocations: 228.4 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.5215, allocations: 74.94 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.5216, allocations: 57.7 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5217, allocations: 354.8 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5219, allocations: 79.95 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.5222, allocations: 159.7 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.5226, allocations: 219.3 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5226, allocations: 4 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005425/0.5231, allocations: 302.1 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5232, allocations: 4 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5232, allocations: 0 / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.5232, allocations: 8.156 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.5234, allocations: 51.91 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5234, allocations: 3.984 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.5236, allocations: 31.69 kB / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5236, allocations: 15.98 kB / 1.029 GB, free: 5.414 MB / 0.7794 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.0001699/0.5238, allocations: 175.2 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.5239, allocations: 43.47 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.524, allocations: 47.84 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.524, allocations: 0 / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.524, allocations: 3.938 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.524, allocations: 7.984 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.5243, allocations: 417.2 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5243, allocations: 0 / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5245, allocations: 31.98 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5246, allocations: 3.938 kB / 1.03 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.5246, allocations: 7.984 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5246, allocations: 4 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5246, allocations: 4 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.5254, allocations: 426.2 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5255, allocations: 140.6 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.5255, allocations: 4 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.5257, allocations: 20.05 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.5258, allocations: 19.97 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5258, allocations: 8 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003004/0.5261, allocations: 323.1 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5261, allocations: 0 / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003003/0.5264, allocations: 75.84 kB / 1.031 GB, free: 3.59 MB / 0.7794 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.001791/0.5282, allocations: 1.285 MB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.5287, allocations: 223.9 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5287, allocations: 0 / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.529, allocations: 112.9 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.5294, allocations: 101.5 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.5338, allocations: 3.588 MB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5341, allocations: 0.8073 MB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.5343, allocations: 55.23 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.5345, allocations: 147.4 kB / 1.037 GB, free: 13.28 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.5345, allocations: 0 / 1.037 GB, free: 13.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.5523, allocations: 8.492 MB / 1.046 GB, free: 5.043 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.5526, allocations: 281.4 kB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.245, allocations: 0 / 1.046 GB, free: 4.668 MB / 0.795 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches