Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00177/0.00177, allocations: 109 kB / 16.41 MB, free: 6.5 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.002067/0.002067, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 71.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9045, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004673/0.9092, allocations: 2.929 MB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.912, allocations: 1.504 MB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.9124, allocations: 11.94 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.9129, allocations: 111.1 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.9135, allocations: 143.1 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.9146, allocations: 421.7 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007402/0.9154, allocations: 0.5266 MB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.9158, allocations: 205.1 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.9161, allocations: 195.1 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.9164, allocations: 207 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.9165, allocations: 40 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.9168, allocations: 95.95 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.9169, allocations: 111.6 kB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.9171, allocations: 214.7 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.9178, allocations: 0.5972 MB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9179, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9179, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.9179, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9356 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.0014/0.9193, allocations: 0.7921 MB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9194, allocations: 12.03 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.9195, allocations: 48.38 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.9202, allocations: 442.3 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.9202, allocations: 24.94 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.9203, allocations: 39.92 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.9209, allocations: 323.9 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.921, allocations: 0 / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.921, allocations: 15.94 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.921, allocations: 8 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.9215, allocations: 210.1 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.9231, allocations: 1.096 MB / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.9238, allocations: 234.9 kB / 1.218 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.924, allocations: 116.8 kB / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.9241, allocations: 0 / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.9244, allocations: 151.3 kB / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.9244, allocations: 0 / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008514/0.9253, allocations: 359.1 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.9254, allocations: 102.8 kB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.9259, allocations: 457.7 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.926, allocations: 33.7 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.9262, allocations: 232.5 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.9262, allocations: 67 kB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.9263, allocations: 61.59 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9265, allocations: 354.8 kB / 1.22 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.9267, allocations: 79.95 kB / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.927, allocations: 164.9 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.9275, allocations: 222.9 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9275, allocations: 12 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006353/0.9281, allocations: 299.2 kB / 1.221 GB, free: 108 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9282, allocations: 4 kB / 1.221 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9282, allocations: 0 / 1.221 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.9282, allocations: 4 kB / 1.221 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.9285, allocations: 56.11 kB / 1.221 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9285, allocations: 4 kB / 1.221 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.9287, allocations: 39.66 kB / 1.221 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.9287, allocations: 8.047 kB / 1.221 GB, free: 15.99 MB / 0.9512 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.0001922/0.9289, allocations: 181.7 kB / 1.221 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.929, allocations: 43.47 kB / 1.221 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.9291, allocations: 51.83 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9291, allocations: 0 / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9291, allocations: 4 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.9293, allocations: 136.5 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.9293, allocations: 4 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.9295, allocations: 15.98 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.9296, allocations: 19.97 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000712/0.9303, allocations: 340.6 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008726/0.9312, allocations: 0.555 MB / 1.222 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002414/0.9314, allocations: 110 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003335/0.9318, allocations: 319.2 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of Backend: time 7.12e-07/0.9318, allocations: 4 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.9334, allocations: 0.5489 MB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001526/0.9349, allocations: 1.157 MB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.01246/0.9474, allocations: 5.269 MB / 1.23 GB, free: 7.422 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches