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.00781/0.00781, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001851/0.001851, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.12 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003213/0.301, allocations: 1.646 MB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8059/1.107, allocations: 147.3 MB / 1.353 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/1.107, allocations: 1.188 kB / 1.353 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.798e-05/1.107, allocations: 13.94 kB / 1.353 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.588e-05/1.107, allocations: 15.36 kB / 1.353 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/1.108, allocations: 243 kB / 1.353 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/1.109, allocations: 89.48 kB / 1.353 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/1.109, allocations: 36.41 kB / 1.353 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/1.109, allocations: 39.55 kB / 1.353 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/1.109, allocations: 43.09 kB / 1.353 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/1.109, allocations: 6.844 kB / 1.353 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/1.11, allocations: 252 kB / 1.353 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/1.11, allocations: 22.64 kB / 1.353 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/1.11, allocations: 45.66 kB / 1.354 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005044/1.11, allocations: 210 kB / 1.354 GB, free: 13.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.11, allocations: 0 / 1.354 GB, free: 13.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.11, allocations: 1.406 kB / 1.354 GB, free: 13.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.11, allocations: 0.7031 kB / 1.354 GB, free: 13.95 MB / 1.061 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.0007233/1.111, allocations: 423.6 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.111, allocations: 13.03 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/1.111, allocations: 38.06 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/1.112, allocations: 154.5 kB / 1.354 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/1.112, allocations: 177.8 kB / 1.354 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/1.113, allocations: 44.77 kB / 1.355 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/1.113, allocations: 9.781 kB / 1.355 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/1.113, allocations: 159.5 kB / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.113, allocations: 1.625 kB / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.113, allocations: 0 / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.113, allocations: 2.469 kB / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/1.114, allocations: 200.8 kB / 1.355 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/1.115, allocations: 427.8 kB / 1.355 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/1.115, allocations: 131.1 kB / 1.355 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/1.116, allocations: 98.59 kB / 1.356 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.116, allocations: 0 / 1.356 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.116, allocations: 40.39 kB / 1.356 GB, free: 12.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/1.116, allocations: 0 / 1.356 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001325/1.117, allocations: 317 kB / 1.356 GB, free: 12.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/1.117, allocations: 53.42 kB / 1.356 GB, free: 12.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.117, allocations: 140.6 kB / 1.356 GB, free: 12.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/1.117, allocations: 26.8 kB / 1.356 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/1.117, allocations: 98.12 kB / 1.356 GB, free: 12.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.118, allocations: 15.92 kB / 1.356 GB, free: 12.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/1.118, allocations: 25.27 kB / 1.356 GB, free: 12.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.118, allocations: 320.2 kB / 1.357 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/1.118, allocations: 88.8 kB / 1.357 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/1.118, allocations: 90.47 kB / 1.357 GB, free: 11.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/1.119, allocations: 178.6 kB / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.119, allocations: 0 / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007467/1.12, allocations: 216 kB / 1.357 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.12, allocations: 9.031 kB / 1.357 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.12, allocations: 2.25 kB / 1.357 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.12, allocations: 0 / 1.357 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.12, allocations: 41.09 kB / 1.357 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.12, allocations: 1.188 kB / 1.357 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/1.121, allocations: 41.89 kB / 1.357 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.121, allocations: 4.812 kB / 1.357 GB, free: 11.75 MB / 1.061 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.0001196/1.121, allocations: 120.8 kB / 1.357 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/1.121, allocations: 12.5 kB / 1.357 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/1.121, allocations: 12.69 kB / 1.357 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.121, allocations: 1.062 kB / 1.357 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.121, allocations: 5.781 kB / 1.357 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.121, allocations: 0 / 1.357 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/1.121, allocations: 210.3 kB / 1.357 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.121, allocations: 0 / 1.357 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/1.121, allocations: 43.47 kB / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.121, allocations: 3.938 kB / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.121, allocations: 3.25 kB / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.121, allocations: 1.156 kB / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.121, allocations: 0 / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/1.122, allocations: 312.1 kB / 1.358 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/1.122, allocations: 98.83 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/1.122, allocations: 1.719 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/1.123, allocations: 29.69 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/1.123, allocations: 9.297 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.123, allocations: 1.031 kB / 1.358 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.137e-05/1.123, allocations: 114 kB / 1.358 GB, free: 11.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 1.358 GB, free: 11.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002563/1.123, allocations: 17.12 kB / 1.358 GB, free: 11.01 MB / 1.061 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.001153/1.124, allocations: 0.8562 MB / 1.359 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007451/1.125, allocations: 191.2 kB / 1.359 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.125, allocations: 4 kB / 1.359 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/1.125, allocations: 103.4 kB / 1.359 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/1.126, allocations: 17.58 kB / 1.359 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/1.13, allocations: 1.964 MB / 1.361 GB, free: 8.859 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.13, allocations: 0.694 MB / 1.362 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000117/1.13, allocations: 21.23 kB / 1.362 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/1.13, allocations: 26.19 kB / 1.362 GB, free: 8.129 MB / 1.061 GB Notification: Performance of SimCode: time 5.62e-07/1.13, allocations: 4 kB / 1.362 GB, free: 8.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/1.152, allocations: 2.933 MB / 1.365 GB, free: 7.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.637, allocations: 12.72 kB / 1.365 GB, free: 7.684 MB / 1.061 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) "" Variables in the reference:time,shr.SHR,onOff.y,TEvaIn.y Variables in the result:TEvaIn.duration,TEvaIn.height,TEvaIn.offset,TEvaIn.startTime,TEvaIn.y,XADP.k,XADP.y,hADP.k,hADP.y,hEvaIn.duration,hEvaIn.height,hEvaIn.offset,hEvaIn.startTime,hEvaIn.y,onOff.startTime,onOff.startValue,onOff.y,p.k,p.y,shr.SHR,shr.TEvaIn,shr.XADP,shr.hADP,shr.hEvaIn,shr.on,shr.p,time