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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007729/0.007729, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001699/0.001699, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.88 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3117, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004756/0.3165, allocations: 2.93 MB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3197, allocations: 1.508 MB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.3203, allocations: 11.94 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.3209, allocations: 115.1 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.3215, allocations: 135.1 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3228, allocations: 407.5 kB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.3235, allocations: 0.5344 MB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.3239, allocations: 201.7 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.3242, allocations: 215.1 kB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.3245, allocations: 202.9 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.3246, allocations: 44 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.3248, allocations: 99.89 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.325, allocations: 99.69 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.3252, allocations: 218.7 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.326, allocations: 0.6033 MB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.326, allocations: 0 / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.326, allocations: 0 / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.326, allocations: 4 kB / 1.215 GB, free: 2.344 MB / 0.9669 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.001463/0.3275, allocations: 0.7804 MB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3276, allocations: 12.03 kB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3277, allocations: 56.22 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.3284, allocations: 438.5 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3284, allocations: 20.94 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.3285, allocations: 35.94 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.3291, allocations: 335.9 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3291, allocations: 0 / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3291, allocations: 12 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3291, allocations: 4 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.3296, allocations: 214.1 kB / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3312, allocations: 1.096 MB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.3318, allocations: 242.9 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.332, allocations: 112.8 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3321, allocations: 0 / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.3324, allocations: 155.2 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.3324, allocations: 0 / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008068/0.3332, allocations: 355.8 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.3333, allocations: 106.8 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.3338, allocations: 446 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3338, allocations: 37.7 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.334, allocations: 228.5 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.3341, allocations: 78.89 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.3342, allocations: 53.7 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3343, allocations: 358.8 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3346, allocations: 83.95 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3348, allocations: 161.4 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.3353, allocations: 228.8 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3353, allocations: 0 / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006967/0.336, allocations: 303.7 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.336, allocations: 5.562 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3361, allocations: 4 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3361, allocations: 0 / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3363, allocations: 51.91 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.3363, allocations: 7.984 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3365, allocations: 31.67 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3366, allocations: 15.98 kB / 1.221 GB, free: 12.04 MB / 0.9825 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.0001857/0.3367, allocations: 178.3 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3368, allocations: 47.38 kB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.3369, allocations: 47.83 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3369, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3369, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3369, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.3373, allocations: 409.3 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3373, allocations: 3.938 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3375, allocations: 39.91 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3375, allocations: 4 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3376, allocations: 15.98 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3376, allocations: 0 / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3376, allocations: 48 / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.3384, allocations: 423 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3386, allocations: 148.6 kB / 1.222 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.3386, allocations: 8 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3388, allocations: 7.984 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.3389, allocations: 23.97 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3389, allocations: 8 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003227/0.3392, allocations: 319.1 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3392, allocations: 0 / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000321/0.3396, allocations: 75.75 kB / 1.222 GB, free: 10.22 MB / 0.9825 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.001067/0.3406, allocations: 440.3 kB / 1.223 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.3412, allocations: 215.6 kB / 1.223 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3412, allocations: 4 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.3414, allocations: 112.2 kB / 1.223 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.3419, allocations: 106.2 kB / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3431, allocations: 0.674 MB / 1.224 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3436, allocations: 0.8188 MB / 1.225 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.3437, allocations: 51.25 kB / 1.225 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.3438, allocations: 35.44 kB / 1.225 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3438, allocations: 0 / 1.225 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.01023/0.3541, allocations: 4.796 MB / 1.229 GB, free: 3.176 MB / 0.9825 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/jenkins/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