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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001643/0.001643, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001885/0.001886, allocations: 191 kB / 17.29 MB, free: 5.516 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.34 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004291/0.2856, allocations: 2.928 MB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.288, allocations: 1.508 MB / 0.9555 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.2882, allocations: 11.94 kB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.2887, allocations: 107.1 kB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.2891, allocations: 143 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.29, allocations: 414.1 kB / 0.9561 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.2905, allocations: 0.5266 MB / 0.9566 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.2908, allocations: 217.1 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.2911, allocations: 199.1 kB / 0.957 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2913, allocations: 199 kB / 0.9572 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.2914, allocations: 44 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2916, allocations: 104 kB / 0.9573 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2917, allocations: 115.5 kB / 0.9575 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.2919, allocations: 202.8 kB / 0.9576 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.2925, allocations: 0.5994 MB / 0.9582 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2925, allocations: 4 kB / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2925, allocations: 0 / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.2925, allocations: 0 / 0.9582 GB, free: 0.7305 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.001168/0.2937, allocations: 0.7922 MB / 0.959 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2937, allocations: 8.031 kB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.2938, allocations: 56.28 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.2944, allocations: 438.4 kB / 0.9595 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2945, allocations: 24.94 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2945, allocations: 31.92 kB / 0.9595 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.2951, allocations: 327.9 kB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2951, allocations: 0 / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.2951, allocations: 15.94 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2952, allocations: 8 kB / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.2956, allocations: 214.1 kB / 0.9601 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.297, allocations: 1.096 MB / 0.9612 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.2976, allocations: 244.9 kB / 0.9614 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.2978, allocations: 104.8 kB / 0.9615 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.2979, allocations: 4 kB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.2982, allocations: 152.9 kB / 0.9616 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.2982, allocations: 3.938 kB / 0.9616 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0007913/0.299, allocations: 365.6 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2991, allocations: 106.8 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.2995, allocations: 449.9 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2996, allocations: 29.7 kB / 0.9625 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.2997, allocations: 228.5 kB / 0.9628 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.2998, allocations: 78.98 kB / 0.9628 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.2999, allocations: 53.7 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3, allocations: 358.8 kB / 0.9632 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3003, allocations: 79.95 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3005, allocations: 160.1 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.3009, allocations: 219.1 kB / 0.9637 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.301, allocations: 0 / 0.9637 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005665/0.3015, allocations: 298.1 kB / 0.964 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3016, allocations: 8 kB / 0.964 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3016, allocations: 0 / 0.964 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3016, allocations: 4 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3018, allocations: 60.06 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3019, allocations: 3.984 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.302, allocations: 31.72 kB / 0.9641 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3021, allocations: 11.98 kB / 0.9641 GB, free: 10.43 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.0001801/0.3023, allocations: 179.7 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.3023, allocations: 47.38 kB / 0.9643 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.762e-05/0.3024, allocations: 47.84 kB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3024, allocations: 4 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3024, allocations: 0 / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3024, allocations: 3.984 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.3028, allocations: 409.2 kB / 0.9647 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3028, allocations: 7.938 kB / 0.9647 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.303, allocations: 35.92 kB / 0.9648 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3031, allocations: 4 kB / 0.9648 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3031, allocations: 7.984 kB / 0.9648 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3031, allocations: 3.984 kB / 0.9648 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3031, allocations: 4 kB / 0.9648 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.3039, allocations: 414.8 kB / 0.9652 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.304, allocations: 148.4 kB / 0.9653 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3041, allocations: 4 kB / 0.9653 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3042, allocations: 11.98 kB / 0.9653 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.3043, allocations: 24.03 kB / 0.9654 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3044, allocations: 8 kB / 0.9654 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003149/0.3047, allocations: 327.1 kB / 0.9657 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3047, allocations: 3.938 kB / 0.9657 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003144/0.305, allocations: 75.84 kB / 0.9658 GB, free: 8.598 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.0009599/0.306, allocations: 432 kB / 0.9662 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.3065, allocations: 225.5 kB / 0.9664 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3065, allocations: 0 / 0.9664 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3068, allocations: 111.9 kB / 0.9665 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3073, allocations: 115.3 kB / 0.9666 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3084, allocations: 0.6704 MB / 0.9673 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3088, allocations: 0.8223 MB / 0.9681 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.3089, allocations: 51.25 kB / 0.9681 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.309, allocations: 39.42 kB / 0.9682 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.309, allocations: 3.938 kB / 0.9682 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of Templates: time 0.008966/0.318, allocations: 4.743 MB / 0.9728 GB, free: 1.605 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 -s cvode -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