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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.001018/0.001018, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.132/2.132, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6953, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003655/0.699, allocations: 2.921 MB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.7011, allocations: 1.516 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.7014, allocations: 12.69 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.7017, allocations: 109.3 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.7021, allocations: 145.2 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.7029, allocations: 411.4 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.7034, allocations: 0.5335 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.7037, allocations: 207 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.704, allocations: 209.9 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.7042, allocations: 200.2 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.7043, allocations: 42.25 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.7046, allocations: 97.81 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.7047, allocations: 111.6 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.7048, allocations: 209.8 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.7055, allocations: 0.6003 MB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7055, allocations: 1.266 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7055, allocations: 0 / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7055, allocations: 4.812 kB / 1.096 GB, free: 0.8945 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.001148/0.7067, allocations: 0.7911 MB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7067, allocations: 9.328 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.7068, allocations: 50.31 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.7075, allocations: 448.9 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.7075, allocations: 20.66 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.7076, allocations: 29.62 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.7082, allocations: 332.2 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.7083, allocations: 0 / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.7083, allocations: 11.78 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.7083, allocations: 10.53 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.7089, allocations: 211.9 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.7103, allocations: 1.094 MB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.7109, allocations: 245.6 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.7112, allocations: 108.3 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.7113, allocations: 11.78 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.7116, allocations: 152.9 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 3.456e-06/0.7116, allocations: 0 / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0008854/0.7125, allocations: 356.2 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.7126, allocations: 106 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.7131, allocations: 454.5 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7132, allocations: 35.89 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.7133, allocations: 229.5 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.7134, allocations: 70.64 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.7135, allocations: 56.03 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7137, allocations: 354.3 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.7139, allocations: 83.88 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.7142, allocations: 159.1 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.7147, allocations: 223.9 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7147, allocations: 0.75 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006203/0.7153, allocations: 307 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7153, allocations: 5.438 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7153, allocations: 2.016 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7153, allocations: 4.375 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.7156, allocations: 49.83 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7156, allocations: 2.344 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.7158, allocations: 31.16 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.7159, allocations: 8.406 kB / 1.102 GB, free: 12.98 MB / 0.8731 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.0002053/0.7161, allocations: 185.9 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.7161, allocations: 44.05 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.7162, allocations: 48.27 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.7163, allocations: 1.312 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7163, allocations: 0 / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7164, allocations: 136.6 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.7165, allocations: 10.95 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.7167, allocations: 10.56 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.7167, allocations: 23.73 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007181/0.7175, allocations: 353.8 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009193/0.7184, allocations: 0.5593 MB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000252/0.7187, allocations: 109.1 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003778/0.7191, allocations: 314.7 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of Backend: time 4.91e-07/0.7191, allocations: 0 / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.7208, allocations: 0.5441 MB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001467/0.7223, allocations: 1.141 MB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.0107/0.733, allocations: 5.331 MB / 1.11 GB, free: 10.38 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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 & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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