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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008575/0.0008572, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005196/0.005196, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 11.94 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.505, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002361/0.5074, allocations: 2.571 MB / 0.9577 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.5091, allocations: 1.462 MB / 0.9591 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.5092, allocations: 11.62 kB / 0.9591 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.5095, allocations: 85 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.5098, allocations: 111.5 kB / 0.9593 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.5104, allocations: 364.8 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.5108, allocations: 0.4895 MB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.511, allocations: 204.9 kB / 0.9603 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.5112, allocations: 158.2 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.5113, allocations: 148.6 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5114, allocations: 9.75 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.5115, allocations: 64.56 kB / 0.9607 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.5116, allocations: 71.64 kB / 0.9608 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.5117, allocations: 193.4 kB / 0.961 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.5121, allocations: 0.5439 MB / 0.9615 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5121, allocations: 4.969 kB / 0.9615 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5121, allocations: 0 / 0.9615 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5121, allocations: 0 / 0.9615 GB, free: 2.887 MB / 0.7169 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.0008443/0.513, allocations: 0.7182 MB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.513, allocations: 9.906 kB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.5131, allocations: 58.58 kB / 0.9623 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.5131, allocations: 54 kB / 0.9623 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.5136, allocations: 435.9 kB / 0.9627 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.5136, allocations: 24.28 kB / 0.9627 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.5137, allocations: 29.97 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.5142, allocations: 332.3 kB / 0.9631 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5142, allocations: 1.219 kB / 0.9631 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.5142, allocations: 10.69 kB / 0.9631 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5143, allocations: 10 kB / 0.9631 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.5147, allocations: 218.7 kB / 0.9633 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.5157, allocations: 1.109 MB / 0.9644 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.5163, allocations: 242 kB / 0.9646 GB, free: 304 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.5165, allocations: 120 kB / 0.9647 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5165, allocations: 6.422 kB / 0.9648 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.5168, allocations: 160.6 kB / 0.9649 GB, free: 120 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.5168, allocations: 0 / 0.9649 GB, free: 120 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007617/0.5176, allocations: 370.2 kB / 0.9653 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.5177, allocations: 113.4 kB / 0.9654 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.5181, allocations: 449.3 kB / 0.9658 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.5181, allocations: 31.7 kB / 0.9658 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5183, allocations: 232.3 kB / 0.9661 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.5184, allocations: 64.27 kB / 0.9661 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.5184, allocations: 35.11 kB / 0.9661 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5185, allocations: 352.9 kB / 0.9665 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5188, allocations: 90.48 kB / 0.9666 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.519, allocations: 161.9 kB / 0.9667 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.5195, allocations: 232 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5195, allocations: 0.9688 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005745/0.5201, allocations: 301.7 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5201, allocations: 9.812 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5201, allocations: 2.031 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5201, allocations: 5.906 kB / 0.9672 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.5204, allocations: 55.89 kB / 0.9673 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5204, allocations: 7.016 kB / 0.9673 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.5206, allocations: 33.95 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5206, allocations: 10.28 kB / 0.9674 GB, free: 14.34 MB / 0.7325 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.0001808/0.5208, allocations: 183.5 kB / 0.9675 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5208, allocations: 47.66 kB / 0.9676 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.5209, allocations: 40.91 kB / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5209, allocations: 7.125 kB / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5209, allocations: 0 / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.521, allocations: 5.016 kB / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.5213, allocations: 413.4 kB / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5214, allocations: 0 / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.5216, allocations: 45.12 kB / 0.9681 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5216, allocations: 1 kB / 0.9681 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.5216, allocations: 6.031 kB / 0.9681 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5216, allocations: 1.062 kB / 0.9681 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5216, allocations: 0.9688 kB / 0.9681 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008128/0.5224, allocations: 438.8 kB / 0.9685 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.5226, allocations: 147.6 kB / 0.9686 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.5226, allocations: 10.36 kB / 0.9686 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5228, allocations: 12.89 kB / 0.9686 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.5228, allocations: 25.17 kB / 0.9687 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.5229, allocations: 13.08 kB / 0.9687 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003229/0.5232, allocations: 316.5 kB / 0.969 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5232, allocations: 0 / 0.969 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003054/0.5235, allocations: 80.08 kB / 0.9691 GB, free: 13.09 MB / 0.7325 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.001851/0.5254, allocations: 1.291 MB / 0.9703 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.5259, allocations: 229.8 kB / 0.9705 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5259, allocations: 0 / 0.9705 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.5262, allocations: 122.1 kB / 0.9707 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.5267, allocations: 96.33 kB / 0.9708 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.5312, allocations: 3.628 MB / 0.9743 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5316, allocations: 0.8205 MB / 0.9751 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000181/0.5318, allocations: 50.59 kB / 0.9751 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.532, allocations: 142 kB / 0.9753 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.532, allocations: 0 / 0.9753 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6373/1.169, allocations: 8.269 MB / 0.9834 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/1.17, allocations: 289.2 kB / 0.9836 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.563, allocations: 0 / 0.9836 GB, free: 1.934 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 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.mat","/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