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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002102/0.002103, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002847/0.002847, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.7 MB / 0.7449 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.67 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4029, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005243/0.4082, allocations: 2.974 MB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.4107, allocations: 1.469 MB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.411, allocations: 15.94 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.4115, allocations: 87.47 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.4119, allocations: 115.4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009339/0.4128, allocations: 377.7 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.4134, allocations: 0.5343 MB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.4137, allocations: 197.1 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.414, allocations: 211.1 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.4143, allocations: 199 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.4144, allocations: 43.98 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.4145, allocations: 99.91 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4147, allocations: 99.67 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.4149, allocations: 214.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.4155, allocations: 0.5804 MB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4155, allocations: 0 / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.226e-06/0.4155, allocations: 0 / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4155, allocations: 4 kB / 1.075 GB, free: 3.551 MB / 0.8262 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.001261/0.4168, allocations: 0.7997 MB / 1.076 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4169, allocations: 12.03 kB / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.417, allocations: 48.38 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.4176, allocations: 438.4 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.4176, allocations: 20.94 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.4177, allocations: 31.94 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.4183, allocations: 323.9 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4183, allocations: 0 / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.4183, allocations: 15.98 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4183, allocations: 4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.4188, allocations: 210.1 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.4202, allocations: 1.108 MB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.4208, allocations: 236.3 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.421, allocations: 120.8 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.4211, allocations: 4 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.4215, allocations: 151.3 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.4215, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.00081/0.4223, allocations: 355.1 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4224, allocations: 110.8 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.4229, allocations: 445.9 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.423, allocations: 33.7 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.4232, allocations: 228.5 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.4232, allocations: 70.98 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.4233, allocations: 65.59 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4235, allocations: 350.8 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4237, allocations: 83.95 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.424, allocations: 152.2 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.4244, allocations: 231.5 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4245, allocations: 4 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005493/0.425, allocations: 292.8 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.425, allocations: 4 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4251, allocations: 8 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4251, allocations: 3.984 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4253, allocations: 56.06 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4253, allocations: 8 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4255, allocations: 31.67 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.4256, allocations: 8 kB / 1.081 GB, free: 13.26 MB / 0.8419 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.0001958/0.4258, allocations: 181.8 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.4258, allocations: 47.45 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/0.4259, allocations: 43.84 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4259, allocations: 4 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.426, allocations: 7.984 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.426, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.4264, allocations: 409.2 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4264, allocations: 3.938 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4266, allocations: 39.97 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4266, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4266, allocations: 4 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4266, allocations: 7.875 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4267, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.4275, allocations: 422.5 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.4276, allocations: 140.5 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.4277, allocations: 8 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4278, allocations: 11.98 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.4279, allocations: 23.97 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.428, allocations: 8.062 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003253/0.4283, allocations: 319.1 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4283, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003156/0.4286, allocations: 75.84 kB / 1.082 GB, free: 11.44 MB / 0.8419 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.001069/0.4297, allocations: 441.7 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.4303, allocations: 234.3 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4303, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4305, allocations: 111.9 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.4311, allocations: 120.2 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4323, allocations: 0.8265 MB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4327, allocations: 0.8109 MB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.4329, allocations: 47.27 kB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.433, allocations: 39.42 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.433, allocations: 0 / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of Templates: time 0.009282/0.4423, allocations: 4.674 MB / 1.089 GB, free: 4.352 MB / 0.8419 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 -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/jenkins/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