Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_10_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.007321/0.007321, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001603/0.001603, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2881, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003932/0.2921, allocations: 1.642 MB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.749/1.041, allocations: 147.3 MB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/1.041, allocations: 1.188 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/1.041, allocations: 6.906 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/1.042, allocations: 17.12 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/1.042, allocations: 251.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.043, allocations: 88.44 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/1.043, allocations: 31.69 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/1.043, allocations: 36.33 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/1.043, allocations: 44.8 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/1.043, allocations: 7.188 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/1.043, allocations: 253.7 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/1.043, allocations: 16.86 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/1.044, allocations: 47.5 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/1.044, allocations: 208.3 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.044, allocations: 1.375 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.044, allocations: 0 / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.044, allocations: 0 / 1.313 GB, free: 12.27 MB / 1.014 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.0006449/1.045, allocations: 427.9 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.045, allocations: 8.781 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/1.045, allocations: 41.3 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.046, allocations: 153.4 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.046, allocations: 178.2 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/1.046, allocations: 40.56 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/1.046, allocations: 5.5 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/1.047, allocations: 161.4 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.047, allocations: 0 / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/1.047, allocations: 3.5 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.047, allocations: 6.75 kB / 1.314 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/1.048, allocations: 205.7 kB / 1.314 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/1.048, allocations: 425.4 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/1.049, allocations: 130.3 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/1.049, allocations: 98.5 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/1.049, allocations: 3.391 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.049, allocations: 36.36 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/1.049, allocations: 3.938 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001351/1.051, allocations: 314 kB / 1.315 GB, free: 11.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.051, allocations: 52.98 kB / 1.315 GB, free: 11.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.051, allocations: 145.8 kB / 1.315 GB, free: 10.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.051, allocations: 29.7 kB / 1.315 GB, free: 10.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/1.051, allocations: 101 kB / 1.315 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/1.051, allocations: 14.7 kB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/1.051, allocations: 21.45 kB / 1.315 GB, free: 10.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.051, allocations: 319.9 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/1.052, allocations: 87.31 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.052, allocations: 89.59 kB / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/1.053, allocations: 173.2 kB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.053, allocations: 0 / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008372/1.054, allocations: 214.5 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.054, allocations: 9.922 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.054, allocations: 5.109 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.054, allocations: 3.938 kB / 1.316 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/1.054, allocations: 43 kB / 1.316 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.054, allocations: 5.094 kB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/1.054, allocations: 40.97 kB / 1.316 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.054, allocations: 2.797 kB / 1.316 GB, free: 10.38 MB / 1.014 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.0001058/1.054, allocations: 113.4 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/1.055, allocations: 11.88 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/1.055, allocations: 15.67 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.055, allocations: 0.5625 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.055, allocations: 1.062 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.055, allocations: 0.6562 kB / 1.316 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/1.055, allocations: 214.2 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.055, allocations: 1.609 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/1.055, allocations: 35.36 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.055, allocations: 4.938 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/1.055, allocations: 8.766 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.055, allocations: 0 / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.055, allocations: 5.656 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/1.056, allocations: 320.4 kB / 1.317 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/1.056, allocations: 88.28 kB / 1.317 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/1.056, allocations: 1.844 kB / 1.317 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/1.056, allocations: 31.97 kB / 1.317 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/1.057, allocations: 10.36 kB / 1.317 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.057, allocations: 1.844 kB / 1.317 GB, free: 9.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.952e-05/1.057, allocations: 108.4 kB / 1.317 GB, free: 9.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.057, allocations: 0 / 1.317 GB, free: 9.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002647/1.057, allocations: 17.55 kB / 1.317 GB, free: 9.73 MB / 1.014 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.001223/1.058, allocations: 0.8616 MB / 1.318 GB, free: 9.051 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008258/1.059, allocations: 190.2 kB / 1.318 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.059, allocations: 1.031 kB / 1.318 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/1.059, allocations: 98.69 kB / 1.318 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/1.06, allocations: 18.52 kB / 1.318 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/1.064, allocations: 1.968 MB / 1.32 GB, free: 7.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.064, allocations: 0.6999 MB / 1.321 GB, free: 7.121 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001281/1.064, allocations: 15 kB / 1.321 GB, free: 7.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/1.065, allocations: 32.7 kB / 1.321 GB, free: 7.102 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.065, allocations: 5 kB / 1.321 GB, free: 7.098 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/1.089, allocations: 2.919 MB / 1.324 GB, free: 6.672 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.922, allocations: 12.69 kB / 1.324 GB, free: 6.664 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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