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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002748/0.002748, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.758e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004812/0.00484, allocations: 2.789 MB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.008181, allocations: 1.62 MB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.008519, allocations: 19.88 kB / 0.8819 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.009013, allocations: 110.5 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006073/0.00962, allocations: 190.7 kB / 0.8822 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.01069, allocations: 405 kB / 0.8826 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.01157, allocations: 0.5615 MB / 0.8831 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.0119, allocations: 131.3 kB / 0.8833 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000569/0.01247, allocations: 299.2 kB / 0.8835 GB, free: 416 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.01278, allocations: 151.5 kB / 0.8837 GB, free: 264 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.01286, allocations: 45.47 kB / 0.8837 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.01311, allocations: 111.8 kB / 0.8838 GB, free: 108 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.01328, allocations: 115.6 kB / 0.8839 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.01346, allocations: 131.5 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.01435, allocations: 0.6306 MB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01435, allocations: 0 / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01435, allocations: 0 / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.01437, allocations: 0 / 0.8847 GB, free: 15.23 MB / 0.8542 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.001473/0.01584, allocations: 0.7397 MB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01587, allocations: 12.03 kB / 0.8854 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.01623, allocations: 96.59 kB / 0.8855 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.01708, allocations: 407.1 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.01712, allocations: 25.03 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.01719, allocations: 28.38 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.01792, allocations: 383.7 kB / 0.8863 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01794, allocations: 0 / 0.8863 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.01797, allocations: 8 kB / 0.8863 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.01798, allocations: 8 kB / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.01854, allocations: 213.8 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.02009, allocations: 0.9453 MB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.02077, allocations: 230.8 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.02104, allocations: 108.8 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.02107, allocations: 4 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.02145, allocations: 158.3 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 3.857e-06/0.02146, allocations: 4 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0009918/0.02245, allocations: 365 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.02252, allocations: 77.11 kB / 0.8884 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.02311, allocations: 449.8 kB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.02314, allocations: 29.7 kB / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.02337, allocations: 244.5 kB / 0.8891 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.02345, allocations: 67.39 kB / 0.8891 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.02357, allocations: 61.69 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.02377, allocations: 354.8 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.02402, allocations: 87.95 kB / 0.8896 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.02436, allocations: 207.4 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.0249, allocations: 219.1 kB / 0.89 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0249, allocations: 4 kB / 0.89 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007867/0.02569, allocations: 305.7 kB / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.02571, allocations: 8 kB / 0.8903 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02572, allocations: 160 / 0.8903 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.02574, allocations: 11.94 kB / 0.8903 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.02601, allocations: 55.89 kB / 0.8904 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02601, allocations: 0 / 0.8904 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.0262, allocations: 27.88 kB / 0.8904 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.02623, allocations: 12 kB / 0.8904 GB, free: 9.094 MB / 0.8542 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.0002275/0.02646, allocations: 178.7 kB / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.02654, allocations: 47.72 kB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.02729, allocations: 302.6 kB / 0.8909 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.0273, allocations: 7.938 kB / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.0273, allocations: 0 / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02731, allocations: 7.922 kB / 0.8909 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.02772, allocations: 301.1 kB / 0.8912 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.02772, allocations: 0 / 0.8912 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.02794, allocations: 35.97 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.02795, allocations: 4 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.02797, allocations: 8 kB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.02798, allocations: 4 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.02798, allocations: 3.938 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.02902, allocations: 443.8 kB / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.02916, allocations: 63.66 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.02921, allocations: 4 kB / 0.8918 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.02939, allocations: 20.05 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.02948, allocations: 23.91 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.0295, allocations: 7.984 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004067/0.02991, allocations: 315.1 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02991, allocations: 0 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003596/0.03027, allocations: 79.78 kB / 0.8922 GB, free: 7.211 MB / 0.8542 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.002076/0.03235, allocations: 468.8 kB / 0.8926 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.03298, allocations: 222.9 kB / 0.8928 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.03298, allocations: 0 / 0.8928 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.03328, allocations: 111.8 kB / 0.8929 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.03384, allocations: 111.1 kB / 0.8931 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.03527, allocations: 0.7081 MB / 0.8937 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.03554, allocations: 219 kB / 0.894 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.03573, allocations: 51.25 kB / 0.894 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.03584, allocations: 28.5 kB / 0.894 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.03584, allocations: 0 / 0.894 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of Templates: time 0.01126/0.0471, allocations: 4.938 MB / 0.8989 GB, free: 0.6523 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.292236714041792]