Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001571/0.001571, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.23 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3335, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002805/0.3364, allocations: 1.716 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1542/0.4906, allocations: 145 MB / 1.195 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.4908, allocations: 8 kB / 1.195 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.018e-05/0.491, allocations: 7.922 kB / 1.195 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.4911, allocations: 7.875 kB / 1.195 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4923, allocations: 211.4 kB / 1.196 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.4925, allocations: 87.72 kB / 1.196 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4926, allocations: 27.97 kB / 1.196 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.4927, allocations: 43.78 kB / 1.196 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4929, allocations: 35.84 kB / 1.196 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.4929, allocations: 4 kB / 1.196 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/0.4936, allocations: 271.3 kB / 1.196 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.4937, allocations: 19.92 kB / 1.196 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.4938, allocations: 43.72 kB / 1.196 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.4944, allocations: 215.7 kB / 1.196 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4944, allocations: 0 / 1.196 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4944, allocations: 0 / 1.196 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.4944, allocations: 0 / 1.196 GB, free: 4.66 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009678/0.4954, allocations: 431 kB / 1.197 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.4955, allocations: 16.03 kB / 1.197 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4968, allocations: 156.6 kB / 1.197 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.497, allocations: 180.2 kB / 1.197 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.4971, allocations: 41.58 kB / 1.197 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4971, allocations: 4 kB / 1.197 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.4977, allocations: 157.5 kB / 1.197 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4977, allocations: 0 / 1.197 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.4978, allocations: 4 kB / 1.197 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4978, allocations: 0 / 1.197 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/0.4986, allocations: 195.8 kB / 1.197 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4997, allocations: 430.2 kB / 1.198 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.5002, allocations: 130.5 kB / 1.198 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.5006, allocations: 100.9 kB / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.5007, allocations: 0 / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5007, allocations: 34.5 kB / 1.198 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.5007, allocations: 3.938 kB / 1.198 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.00144/0.5021, allocations: 309.3 kB / 1.198 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5022, allocations: 55.39 kB / 1.198 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5024, allocations: 139 kB / 1.199 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.5024, allocations: 25.7 kB / 1.199 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.5025, allocations: 104.1 kB / 1.199 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.5025, allocations: 15.8 kB / 1.199 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.5026, allocations: 25.7 kB / 1.199 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5027, allocations: 314.8 kB / 1.199 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.5031, allocations: 91.91 kB / 1.199 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.5035, allocations: 92.16 kB / 1.199 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.5042, allocations: 172.8 kB / 1.199 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5042, allocations: 4 kB / 1.199 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000814/0.505, allocations: 217.4 kB / 1.2 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.5051, allocations: 9.344 kB / 1.2 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5051, allocations: 7.922 kB / 1.2 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5051, allocations: 0 / 1.2 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.5054, allocations: 39.95 kB / 1.2 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.5054, allocations: 0 / 1.2 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.5057, allocations: 31.97 kB / 1.2 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.5057, allocations: 3.984 kB / 1.2 GB, free: 0.9648 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001114/0.5058, allocations: 117.8 kB / 1.2 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.5059, allocations: 15.78 kB / 1.2 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.5059, allocations: 12.72 kB / 1.2 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5059, allocations: 3.984 kB / 1.2 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.506, allocations: 0 / 1.2 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.506, allocations: 0 / 1.2 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.5062, allocations: 229.4 kB / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5062, allocations: 4 kB / 1.2 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.5065, allocations: 35.95 kB / 1.2 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/0.5065, allocations: 3.938 kB / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5066, allocations: 0 / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5066, allocations: 0 / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5066, allocations: 0 / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.5075, allocations: 323.4 kB / 1.2 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.5075, allocations: 92.89 kB / 1.2 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.5076, allocations: 4 kB / 1.2 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.5078, allocations: 31.95 kB / 1.201 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.5079, allocations: 12.03 kB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5079, allocations: 0 / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.508, allocations: 118 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.508, allocations: 0 / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002588/0.5083, allocations: 20 kB / 1.201 GB, free: 15.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001877/0.5085, allocations: 101.5 kB / 1.201 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008317/0.5093, allocations: 195.8 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5093, allocations: 0 / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.5097, allocations: 99.86 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.5102, allocations: 15.98 kB / 1.201 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.5114, allocations: 328 kB / 1.201 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.5117, allocations: 0.6926 MB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000151/0.5119, allocations: 16 kB / 1.202 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.5119, allocations: 11.44 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.5119, allocations: 4 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of Templates: time 0.004058/0.516, allocations: 1.404 MB / 1.203 GB, free: 12.97 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches