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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00256/0.00256, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.12 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3141, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002985/0.3172, allocations: 1.713 MB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.4636, allocations: 145.1 MB / 1.196 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.4637, allocations: 4 kB / 1.196 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.4638, allocations: 3.938 kB / 1.196 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.4639, allocations: 15.84 kB / 1.196 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.4648, allocations: 219.1 kB / 1.196 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.4649, allocations: 95.75 kB / 1.196 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.465, allocations: 24.27 kB / 1.196 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.4651, allocations: 31.86 kB / 1.196 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.4652, allocations: 43.83 kB / 1.196 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4652, allocations: 11.94 kB / 1.196 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.4658, allocations: 255.3 kB / 1.197 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.4658, allocations: 19.97 kB / 1.197 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.4659, allocations: 47.73 kB / 1.197 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.4662, allocations: 211.4 kB / 1.197 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4662, allocations: 0 / 1.197 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4663, allocations: 4 kB / 1.197 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4663, allocations: 0 / 1.197 GB, free: 4.227 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.0006525/0.4669, allocations: 431 kB / 1.197 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.467, allocations: 12.62 kB / 1.197 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.467, allocations: 42.75 kB / 1.197 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.4683, allocations: 148.6 kB / 1.197 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4684, allocations: 179.9 kB / 1.198 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.4685, allocations: 41.69 kB / 1.198 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4686, allocations: 8 kB / 1.198 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.4691, allocations: 157.5 kB / 1.198 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4691, allocations: 4 kB / 1.198 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4692, allocations: 0 / 1.198 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4692, allocations: 4 kB / 1.198 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.47, allocations: 199.8 kB / 1.198 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.4709, allocations: 426.3 kB / 1.198 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.4714, allocations: 130.4 kB / 1.198 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.4718, allocations: 96.89 kB / 1.199 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.4718, allocations: 4 kB / 1.199 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4719, allocations: 34.5 kB / 1.199 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4719, allocations: 0 / 1.199 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001377/0.4733, allocations: 309.3 kB / 1.199 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4733, allocations: 55.39 kB / 1.199 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4734, allocations: 148.9 kB / 1.199 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4735, allocations: 25.7 kB / 1.199 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.4735, allocations: 96.08 kB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4736, allocations: 23.78 kB / 1.199 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.4736, allocations: 29.64 kB / 1.199 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.4737, allocations: 314.8 kB / 1.2 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.4741, allocations: 87.91 kB / 1.2 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.4745, allocations: 91.91 kB / 1.2 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.4753, allocations: 168.7 kB / 1.2 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4753, allocations: 3.938 kB / 1.2 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008214/0.4761, allocations: 225.4 kB / 1.2 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4761, allocations: 4 kB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4761, allocations: 0 / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4762, allocations: 7.984 kB / 1.2 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.4765, allocations: 39.89 kB / 1.2 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4765, allocations: 0 / 1.2 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.4767, allocations: 35.97 kB / 1.2 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4768, allocations: 448 / 1.2 GB, free: 492 kB / 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 9.766e-05/0.4769, allocations: 119.4 kB / 1.2 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.4769, allocations: 11.84 kB / 1.2 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.4769, allocations: 12.72 kB / 1.2 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.477, allocations: 0 / 1.2 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.477, allocations: 4 kB / 1.2 GB, free: 328 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.477, allocations: 4 kB / 1.2 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4772, allocations: 221.4 kB / 1.201 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4772, allocations: 0 / 1.201 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.4775, allocations: 39.89 kB / 1.201 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4775, allocations: 0 / 1.201 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4775, allocations: 4 kB / 1.201 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4776, allocations: 4 kB / 1.201 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4776, allocations: 3.984 kB / 1.201 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.4785, allocations: 319.2 kB / 1.201 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.4785, allocations: 84.95 kB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.4786, allocations: 8 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.4788, allocations: 31.95 kB / 1.201 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.4789, allocations: 11.98 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4789, allocations: 0 / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.479, allocations: 113.3 kB / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.479, allocations: 0 / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002583/0.4793, allocations: 16 kB / 1.201 GB, free: 15.39 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.001188/0.4805, allocations: 0.8629 MB / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008417/0.4813, allocations: 187.8 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4813, allocations: 0 / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.4817, allocations: 103.8 kB / 1.202 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4821, allocations: 20.3 kB / 1.202 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.4861, allocations: 1.986 MB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.4863, allocations: 0.6924 MB / 1.205 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.4865, allocations: 15.98 kB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/0.4866, allocations: 31.42 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.4866, allocations: 0 / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/1.963, allocations: 2.667 MB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/1.963, allocations: 230.1 kB / 1.208 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/5.197, allocations: 1.875 kB / 1.208 GB, free: 8.637 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > 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/jenkins1/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