Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001334/0.001334, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005527/0.0005529, allocations: 12 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7843, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003682/0.788, allocations: 2.576 MB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.7909, allocations: 1.461 MB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.7914, allocations: 11.94 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.7919, allocations: 87.45 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.7925, allocations: 111.4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.7937, allocations: 383.6 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.7945, allocations: 495.2 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.7949, allocations: 197.1 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.7953, allocations: 147 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.7956, allocations: 163 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.7957, allocations: 8 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.7959, allocations: 51.97 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.796, allocations: 67.62 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.7962, allocations: 192.5 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.7968, allocations: 464.8 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7968, allocations: 4 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7968, allocations: 0 / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.7968, allocations: 0 / 1.03 GB, free: 9.449 MB / 0.7794 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.001426/0.7983, allocations: 0.7199 MB / 1.031 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7983, allocations: 8.031 kB / 1.031 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.7985, allocations: 52.28 kB / 1.031 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.7992, allocations: 430.5 kB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.7993, allocations: 28.92 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.7993, allocations: 35.84 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.8, allocations: 331.9 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8, allocations: 3.938 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.8001, allocations: 12 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.8001, allocations: 8 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.8006, allocations: 226.1 kB / 1.032 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.8023, allocations: 1.1 MB / 1.033 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.8029, allocations: 239.6 kB / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.8032, allocations: 116.8 kB / 1.033 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.8032, allocations: 7.984 kB / 1.033 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.8037, allocations: 163.1 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 3.126e-06/0.8037, allocations: 4 kB / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008835/0.8046, allocations: 363.2 kB / 1.034 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.8046, allocations: 106.8 kB / 1.034 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.8052, allocations: 457.8 kB / 1.034 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.8052, allocations: 29.7 kB / 1.034 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.8054, allocations: 236.4 kB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.8055, allocations: 71 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.8056, allocations: 29.7 kB / 1.035 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8057, allocations: 350.8 kB / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.806, allocations: 91.95 kB / 1.035 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.8062, allocations: 163.6 kB / 1.035 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.8067, allocations: 226 kB / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8067, allocations: 0 / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006436/0.8074, allocations: 309.6 kB / 1.036 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.8074, allocations: 10.19 kB / 1.036 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.8074, allocations: 4 kB / 1.036 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8074, allocations: 0 / 1.036 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.8077, allocations: 51.91 kB / 1.036 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.8077, allocations: 4 kB / 1.036 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.8079, allocations: 31.73 kB / 1.036 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.8079, allocations: 12 kB / 1.036 GB, free: 3.188 MB / 0.7794 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.0002139/0.8081, allocations: 186.2 kB / 1.036 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.8082, allocations: 47.38 kB / 1.036 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.8083, allocations: 43.83 kB / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8083, allocations: 4 kB / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.8083, allocations: 0 / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8084, allocations: 0 / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.8088, allocations: 413.3 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.8088, allocations: 7.875 kB / 1.036 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.809, allocations: 39.91 kB / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.809, allocations: 8 kB / 1.036 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.809, allocations: 4 kB / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.809, allocations: 0 / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8091, allocations: 4 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.8099, allocations: 434.2 kB / 1.037 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8101, allocations: 152.4 kB / 1.037 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.8101, allocations: 8.047 kB / 1.037 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.8103, allocations: 19.97 kB / 1.037 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.8104, allocations: 27.91 kB / 1.037 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.8104, allocations: 8.062 kB / 1.037 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003547/0.8108, allocations: 319.1 kB / 1.037 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8108, allocations: 0 / 1.037 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003566/0.8111, allocations: 71.84 kB / 1.037 GB, free: 1.328 MB / 0.7794 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.001071/0.8122, allocations: 419.8 kB / 1.038 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.8128, allocations: 237.1 kB / 1.038 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8128, allocations: 0 / 1.038 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.8131, allocations: 113.9 kB / 1.038 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.8137, allocations: 107.8 kB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.8151, allocations: 0.8713 MB / 1.039 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.8155, allocations: 0.8112 MB / 1.04 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.8156, allocations: 31.42 kB / 1.04 GB, free: 14.85 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.8156, allocations: 4 kB / 1.04 GB, free: 14.85 MB / 0.795 GB Notification: Performance of Templates: time 0.009576/0.8252, allocations: 5.556 MB / 1.045 GB, free: 9.332 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches