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.001486/0.001486, allocations: 116.2 kB / 16.37 MB, free: 6.004 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.001648/0.001648, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 68.67 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004389/0.2674, allocations: 2.944 MB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.2697, allocations: 1.508 MB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.27, allocations: 15.94 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.2704, allocations: 107.1 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2707, allocations: 143 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.2716, allocations: 416.9 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.2721, allocations: 0.5305 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.2724, allocations: 201.1 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2726, allocations: 203.1 kB / 1.033 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2728, allocations: 199 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.2729, allocations: 40 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2731, allocations: 99.95 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2732, allocations: 115.5 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.2734, allocations: 202.8 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.2739, allocations: 0.6072 MB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.274, allocations: 0 / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.274, allocations: 3.938 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.274, allocations: 0 / 1.034 GB, free: 10.71 MB / 0.8106 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.001132/0.2751, allocations: 0.796 MB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2752, allocations: 8.031 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.2753, allocations: 48.38 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.2759, allocations: 446.4 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2759, allocations: 16.94 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.276, allocations: 31.94 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.2766, allocations: 331.9 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2766, allocations: 0 / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2766, allocations: 12 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2766, allocations: 8 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2771, allocations: 210.1 kB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.2784, allocations: 1.1 MB / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.279, allocations: 238.8 kB / 1.037 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.2793, allocations: 116.8 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.2793, allocations: 4 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.2796, allocations: 160.9 kB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.2797, allocations: 0 / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0007947/0.2805, allocations: 347.1 kB / 1.038 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.2805, allocations: 110.8 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.281, allocations: 445.9 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.281, allocations: 37.7 kB / 1.038 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2812, allocations: 232.5 kB / 1.038 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.2812, allocations: 67.02 kB / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.2813, allocations: 53.69 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2815, allocations: 354.8 kB / 1.039 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2817, allocations: 87.95 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.2819, allocations: 164.6 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.2824, allocations: 222.9 kB / 1.039 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2824, allocations: 0 / 1.039 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005906/0.283, allocations: 302.9 kB / 1.04 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.283, allocations: 11.98 kB / 1.04 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2831, allocations: 7.938 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2831, allocations: 0 / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.2834, allocations: 51.91 kB / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2834, allocations: 4 kB / 1.04 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2836, allocations: 31.67 kB / 1.04 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2836, allocations: 12 kB / 1.04 GB, free: 4.418 MB / 0.8106 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.0002046/0.2838, allocations: 186.3 kB / 1.04 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.2839, allocations: 43.47 kB / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.284, allocations: 43.83 kB / 1.04 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.284, allocations: 4 kB / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.284, allocations: 0 / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.284, allocations: 0 / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.2845, allocations: 417.2 kB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2845, allocations: 3.938 kB / 1.04 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.2847, allocations: 43.84 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2848, allocations: 0 / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2848, allocations: 12 kB / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2848, allocations: 0 / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2848, allocations: 0 / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.2856, allocations: 414.7 kB / 1.041 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2858, allocations: 144.6 kB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.2859, allocations: 15.98 kB / 1.041 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.286, allocations: 8 kB / 1.041 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2861, allocations: 27.97 kB / 1.041 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2862, allocations: 7.984 kB / 1.041 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003341/0.2865, allocations: 319.1 kB / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2865, allocations: 0 / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003234/0.2868, allocations: 71.84 kB / 1.041 GB, free: 2.594 MB / 0.8106 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.0009897/0.2878, allocations: 423.4 kB / 1.042 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.2884, allocations: 223.6 kB / 1.042 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2884, allocations: 0 / 1.042 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2886, allocations: 115.8 kB / 1.042 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.2891, allocations: 125.4 kB / 1.042 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2902, allocations: 0.6822 MB / 1.043 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.2905, allocations: 0.8071 MB / 1.044 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.2907, allocations: 47.27 kB / 1.044 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.2908, allocations: 43.36 kB / 1.044 GB, free: 256 kB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.2908, allocations: 0 / 1.044 GB, free: 256 kB / 0.8106 GB Notification: Performance of Templates: time 0.009188/0.3, allocations: 4.738 MB / 1.048 GB, free: 11.61 MB / 0.8262 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 -s gbode -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