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.001634/0.001634, allocations: 103.5 kB / 15.98 MB, free: 5.891 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.001617/0.001617, allocations: 187.9 kB / 16.91 MB, free: 5.746 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.535/1.535, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.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.651/2.651, allocations: 390.2 MB / 0.665 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8929, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004574/0.8975, allocations: 2.956 MB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.9001, allocations: 1.485 MB / 0.9541 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.9005, allocations: 10.78 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.901, allocations: 82.03 kB / 0.9542 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.9014, allocations: 125.1 kB / 0.9543 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.9024, allocations: 375.1 kB / 0.9547 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.9029, allocations: 0.5267 MB / 0.9552 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.9033, allocations: 206.3 kB / 0.9554 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.9035, allocations: 207.7 kB / 0.9556 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.9038, allocations: 200.5 kB / 0.9558 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.9038, allocations: 41.66 kB / 0.9558 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.9041, allocations: 93.91 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.9042, allocations: 112.1 kB / 0.956 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.9044, allocations: 212.5 kB / 0.9562 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.905, allocations: 468.9 kB / 0.9567 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.905, allocations: 0 / 0.9567 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9051, allocations: 0 / 0.9567 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.9051, allocations: 0 / 0.9567 GB, free: 3.926 MB / 0.7169 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.001229/0.9063, allocations: 0.7935 MB / 0.9574 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.9064, allocations: 9.906 kB / 0.9575 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.9065, allocations: 53.44 kB / 0.9575 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.907, allocations: 438.9 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.907, allocations: 21.5 kB / 0.9579 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.9071, allocations: 33.66 kB / 0.958 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.9077, allocations: 329 kB / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9077, allocations: 0 / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.9077, allocations: 10.75 kB / 0.9583 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.9078, allocations: 10.88 kB / 0.9583 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.9082, allocations: 209.7 kB / 0.9585 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.9095, allocations: 1.096 MB / 0.9596 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.9102, allocations: 246 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.9104, allocations: 115.2 kB / 0.9599 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.9105, allocations: 11.08 kB / 0.9599 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.9109, allocations: 155.5 kB / 0.9601 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.9109, allocations: 0 / 0.9601 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.000849/0.9118, allocations: 357 kB / 0.9604 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.9118, allocations: 110.4 kB / 0.9605 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.9124, allocations: 448.7 kB / 0.961 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9124, allocations: 31.83 kB / 0.961 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.9125, allocations: 232.3 kB / 0.9612 GB, free: 344 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.9126, allocations: 72.78 kB / 0.9613 GB, free: 280 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.9127, allocations: 53.53 kB / 0.9613 GB, free: 240 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9129, allocations: 353.8 kB / 0.9617 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.9131, allocations: 90.55 kB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.9134, allocations: 157.5 kB / 0.9619 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.9139, allocations: 215.1 kB / 0.9621 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9139, allocations: 1.156 kB / 0.9621 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006404/0.9145, allocations: 302.1 kB / 0.9624 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9146, allocations: 6.25 kB / 0.9624 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9146, allocations: 5.266 kB / 0.9624 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9146, allocations: 3.125 kB / 0.9624 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.9149, allocations: 56.34 kB / 0.9625 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9149, allocations: 0 / 0.9625 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.9151, allocations: 30.86 kB / 0.9625 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.9151, allocations: 7.344 kB / 0.9625 GB, free: 15.38 MB / 0.7325 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.0002146/0.9153, allocations: 179.9 kB / 0.9627 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.9154, allocations: 46.53 kB / 0.9627 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.9155, allocations: 45.06 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9155, allocations: 10.98 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9156, allocations: 0 / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9156, allocations: 0.875 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.916, allocations: 413.2 kB / 0.9632 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9161, allocations: 9.031 kB / 0.9632 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.9163, allocations: 38.66 kB / 0.9632 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9163, allocations: 1.062 kB / 0.9632 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.9163, allocations: 6.406 kB / 0.9632 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9163, allocations: 1.562 kB / 0.9632 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9163, allocations: 0 / 0.9632 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.9172, allocations: 417.2 kB / 0.9636 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.9174, allocations: 151.8 kB / 0.9638 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.9175, allocations: 9.406 kB / 0.9638 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.9177, allocations: 14.48 kB / 0.9638 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.9177, allocations: 20.56 kB / 0.9638 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.9178, allocations: 9.969 kB / 0.9638 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003977/0.9182, allocations: 320.3 kB / 0.9641 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9182, allocations: 4.062 kB / 0.9641 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003695/0.9186, allocations: 76.28 kB / 0.9642 GB, free: 14.13 MB / 0.7325 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.001105/0.9197, allocations: 429.4 kB / 0.9646 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.9203, allocations: 234.6 kB / 0.9648 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9204, allocations: 4.062 kB / 0.9648 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.9206, allocations: 110.6 kB / 0.9649 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.9213, allocations: 120.3 kB / 0.9651 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.923, allocations: 0.8388 MB / 0.9659 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.9235, allocations: 0.8238 MB / 0.9667 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.9237, allocations: 39.73 kB / 0.9667 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of SimCode: time 5e-07/0.9237, allocations: 0 / 0.9667 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.01392/0.9376, allocations: 5.628 MB / 0.9722 GB, free: 9.398 MB / 0.7325 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