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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.000793/0.000793, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004737/0.004737, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 10.97 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.00196/0.2736, allocations: 1.374 MB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.4085, allocations: 143.4 MB / 1.2 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.4086, allocations: 0 / 1.2 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.4086, allocations: 7.938 kB / 1.2 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.4087, allocations: 15.91 kB / 1.2 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.4094, allocations: 215.3 kB / 1.2 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4096, allocations: 79.77 kB / 1.201 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.4097, allocations: 28.2 kB / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.4097, allocations: 27.86 kB / 1.201 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.4098, allocations: 43.77 kB / 1.201 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4098, allocations: 7.938 kB / 1.201 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.4103, allocations: 275.3 kB / 1.201 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.4103, allocations: 8 kB / 1.201 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.4104, allocations: 65.44 kB / 1.201 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.4107, allocations: 211.4 kB / 1.201 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4107, allocations: 0 / 1.201 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4107, allocations: 0 / 1.201 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.4107, allocations: 0 / 1.201 GB, free: 2.543 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.0005677/0.4113, allocations: 431.1 kB / 1.202 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4114, allocations: 11.97 kB / 1.202 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.4114, allocations: 42.73 kB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.4126, allocations: 152.7 kB / 1.202 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4127, allocations: 180 kB / 1.202 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.4128, allocations: 37.64 kB / 1.202 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.4128, allocations: 8 kB / 1.202 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.4134, allocations: 175.8 kB / 1.202 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4134, allocations: 0 / 1.202 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4134, allocations: 0 / 1.202 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4134, allocations: 4 kB / 1.202 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.4142, allocations: 219.8 kB / 1.202 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.415, allocations: 418.2 kB / 1.203 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.4155, allocations: 142.5 kB / 1.203 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.4159, allocations: 112.9 kB / 1.203 GB, free: 496 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.416, allocations: 0 / 1.203 GB, free: 496 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.416, allocations: 34.5 kB / 1.203 GB, free: 452 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.416, allocations: 4 kB / 1.203 GB, free: 448 kB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001369/0.4174, allocations: 337.3 kB / 1.203 GB, free: 104 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4174, allocations: 63.39 kB / 1.203 GB, free: 28 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4176, allocations: 135.2 kB / 1.204 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4176, allocations: 33.7 kB / 1.204 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.4176, allocations: 100 kB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4177, allocations: 19.88 kB / 1.204 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.4177, allocations: 17.72 kB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.4178, allocations: 322.8 kB / 1.204 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.4182, allocations: 95.92 kB / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.4186, allocations: 107.9 kB / 1.204 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.4194, allocations: 188.7 kB / 1.204 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4194, allocations: 4 kB / 1.204 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008372/0.4202, allocations: 241.4 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4203, allocations: 4 kB / 1.205 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4203, allocations: 7.938 kB / 1.205 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4203, allocations: 0 / 1.205 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.4206, allocations: 47.94 kB / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4206, allocations: 0 / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.4209, allocations: 39.86 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4209, allocations: 3.984 kB / 1.205 GB, free: 14.64 MB / 0.9669 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 8.74e-05/0.421, allocations: 121.8 kB / 1.205 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.421, allocations: 11.84 kB / 1.205 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.421, allocations: 16.7 kB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4211, allocations: 448 / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4211, allocations: 0 / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.4211, allocations: 0 / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.4213, allocations: 221.5 kB / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4213, allocations: 0 / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4216, allocations: 47.89 kB / 1.205 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4216, allocations: 0 / 1.205 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4216, allocations: 7.984 kB / 1.205 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4216, allocations: 0 / 1.205 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4216, allocations: 0 / 1.205 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.4225, allocations: 335.3 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4225, allocations: 84.95 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.4226, allocations: 7.938 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.4228, allocations: 35.95 kB / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.4229, allocations: 11.98 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4229, allocations: 4 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.423, allocations: 110.3 kB / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.184e-06/0.423, allocations: 0 / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002385/0.4232, allocations: 23.94 kB / 1.206 GB, free: 13.53 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.00115/0.4244, allocations: 0.8802 MB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.4252, allocations: 211.8 kB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4252, allocations: 0 / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.4257, allocations: 107.9 kB / 1.207 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.426, allocations: 16 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.4298, allocations: 2.041 MB / 1.209 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.4301, allocations: 0.6965 MB / 1.21 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.4302, allocations: 12 kB / 1.21 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.4303, allocations: 27.42 kB / 1.21 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.4303, allocations: 0 / 1.21 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2941/0.7244, allocations: 2.515 MB / 1.212 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/0.7247, allocations: 231.8 kB / 1.212 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.359, allocations: 1.719 kB / 1.212 GB, free: 6.836 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