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.001454/0.001454, allocations: 102.2 kB / 16.27 MB, free: 5.988 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.001454/0.001453, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.276/2.276, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.94 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3219, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005688/0.3277, allocations: 2.922 MB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.3309, allocations: 1.512 MB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.3315, allocations: 15.88 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.3321, allocations: 99.2 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.3329, allocations: 143 kB / 0.9549 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.334, allocations: 409.9 kB / 0.9552 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.3345, allocations: 0.5343 MB / 0.9558 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.3349, allocations: 217.1 kB / 0.956 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.3352, allocations: 195.2 kB / 0.9562 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3354, allocations: 199 kB / 0.9564 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.3355, allocations: 40 kB / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.3357, allocations: 103.8 kB / 0.9565 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3358, allocations: 103.7 kB / 0.9566 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.336, allocations: 214.7 kB / 0.9568 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.3366, allocations: 0.5765 MB / 0.9574 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3367, allocations: 4 kB / 0.9574 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3367, allocations: 0 / 0.9574 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3367, allocations: 0 / 0.9574 GB, free: 1.605 MB / 0.7325 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.001259/0.3379, allocations: 0.7998 MB / 0.9581 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.338, allocations: 8.031 kB / 0.9581 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3381, allocations: 60.27 kB / 0.9582 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.3387, allocations: 430.4 kB / 0.9586 GB, free: 228 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3387, allocations: 20.94 kB / 0.9586 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.3388, allocations: 31.92 kB / 0.9587 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.3394, allocations: 335.9 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3394, allocations: 0 / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3395, allocations: 11.94 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3395, allocations: 8 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.3399, allocations: 218.1 kB / 0.9592 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3413, allocations: 1.104 MB / 0.9603 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3419, allocations: 238.9 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.3422, allocations: 112.8 kB / 0.9606 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3422, allocations: 0 / 0.9606 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.3426, allocations: 156.7 kB / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.3426, allocations: 0 / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008329/0.3434, allocations: 361.6 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.3435, allocations: 106.8 kB / 0.9612 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.344, allocations: 449.9 kB / 0.9617 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.344, allocations: 37.7 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3442, allocations: 228.5 kB / 0.9619 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3443, allocations: 70.98 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.3444, allocations: 57.64 kB / 0.962 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3445, allocations: 354.8 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3447, allocations: 79.95 kB / 0.9624 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.345, allocations: 168.6 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3455, allocations: 219.3 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3455, allocations: 4 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005621/0.346, allocations: 298.3 kB / 0.9631 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3461, allocations: 8 kB / 0.9631 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3461, allocations: 0 / 0.9631 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3461, allocations: 4 kB / 0.9631 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.3463, allocations: 55.91 kB / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3464, allocations: 0 / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3465, allocations: 31.77 kB / 0.9632 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3466, allocations: 11.98 kB / 0.9632 GB, free: 11.29 MB / 0.7481 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.0001917/0.3468, allocations: 179.8 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.3468, allocations: 51.36 kB / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.3469, allocations: 47.84 kB / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3469, allocations: 0 / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.347, allocations: 0 / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.347, allocations: 4 kB / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.3474, allocations: 409.2 kB / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3474, allocations: 7.922 kB / 0.9639 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.3476, allocations: 43.86 kB / 0.9639 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3476, allocations: 0 / 0.9639 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3476, allocations: 7.984 kB / 0.9639 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3476, allocations: 4 kB / 0.9639 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3476, allocations: 0 / 0.9639 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.3484, allocations: 415.6 kB / 0.9643 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3486, allocations: 144.5 kB / 0.9645 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.3486, allocations: 8 kB / 0.9645 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3488, allocations: 15.98 kB / 0.9645 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.3489, allocations: 19.97 kB / 0.9645 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3489, allocations: 8 kB / 0.9645 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003259/0.3492, allocations: 319.1 kB / 0.9648 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3492, allocations: 0 / 0.9648 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003162/0.3496, allocations: 71.84 kB / 0.9649 GB, free: 9.48 MB / 0.7481 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.001034/0.3506, allocations: 441.9 kB / 0.9653 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005694/0.3512, allocations: 227.6 kB / 0.9655 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3512, allocations: 0 / 0.9655 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3514, allocations: 111.9 kB / 0.9656 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.352, allocations: 112.5 kB / 0.9657 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3532, allocations: 0.7271 MB / 0.9664 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3536, allocations: 0.8185 MB / 0.9672 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3537, allocations: 43.36 kB / 0.9673 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3537, allocations: 0 / 0.9673 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of Templates: time 0.00808/0.3618, allocations: 5.616 MB / 0.9728 GB, free: 1.543 MB / 0.7481 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