Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.008063/0.008063, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001804/0.001804, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.64 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2626, allocations: 140.4 MB / 1.088 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002995/0.2657, allocations: 1.669 MB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.4056, allocations: 147.3 MB / 1.233 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.4057, allocations: 0 / 1.233 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.4058, allocations: 11.92 kB / 1.233 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.4059, allocations: 23.73 kB / 1.233 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.4068, allocations: 239.1 kB / 1.233 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.407, allocations: 87.75 kB / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4071, allocations: 27.98 kB / 1.233 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.4072, allocations: 35.86 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4073, allocations: 47.77 kB / 1.233 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4073, allocations: 8 kB / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.4079, allocations: 243.4 kB / 1.234 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.4079, allocations: 19.97 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.408, allocations: 51.66 kB / 1.234 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.4083, allocations: 199.2 kB / 1.234 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4084, allocations: 4 kB / 1.234 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4084, allocations: 0 / 1.234 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4084, allocations: 0 / 1.234 GB, free: 11.47 MB / 0.9981 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.0006655/0.4091, allocations: 427 kB / 1.234 GB, free: 11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4091, allocations: 12.03 kB / 1.234 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.4091, allocations: 38.69 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4103, allocations: 160.6 kB / 1.235 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4105, allocations: 175.2 kB / 1.235 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.4105, allocations: 37.69 kB / 1.235 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4106, allocations: 4 kB / 1.235 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.4111, allocations: 157.5 kB / 1.235 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4111, allocations: 0 / 1.235 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4112, allocations: 7.984 kB / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4112, allocations: 7.938 kB / 1.235 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.412, allocations: 191.8 kB / 1.235 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.4129, allocations: 422.3 kB / 1.235 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.4134, allocations: 138.3 kB / 1.236 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.4138, allocations: 100.9 kB / 1.236 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4138, allocations: 7.938 kB / 1.236 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.4138, allocations: 30.56 kB / 1.236 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.4139, allocations: 0 / 1.236 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001387/0.4152, allocations: 321.3 kB / 1.236 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4153, allocations: 51.41 kB / 1.236 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4154, allocations: 143.4 kB / 1.236 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4154, allocations: 25.7 kB / 1.236 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.4155, allocations: 100 kB / 1.236 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.4155, allocations: 19.88 kB / 1.236 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.4156, allocations: 21.72 kB / 1.236 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.4157, allocations: 322.8 kB / 1.237 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.4161, allocations: 91.91 kB / 1.237 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.4165, allocations: 83.92 kB / 1.237 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.4172, allocations: 172.7 kB / 1.237 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4172, allocations: 3.938 kB / 1.237 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008434/0.4181, allocations: 221.4 kB / 1.237 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4181, allocations: 4 kB / 1.237 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4181, allocations: 0 / 1.237 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4181, allocations: 4 kB / 1.237 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.4184, allocations: 35.95 kB / 1.237 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4185, allocations: 4 kB / 1.237 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.4187, allocations: 31.86 kB / 1.237 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4187, allocations: 4 kB / 1.237 GB, free: 7.723 MB / 0.9981 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.0001013/0.4188, allocations: 125.7 kB / 1.237 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4189, allocations: 7.906 kB / 1.237 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.4189, allocations: 12.7 kB / 1.237 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4189, allocations: 0 / 1.237 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4189, allocations: 4 kB / 1.237 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4189, allocations: 0 / 1.237 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.4192, allocations: 217.5 kB / 1.238 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4192, allocations: 0 / 1.238 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.4195, allocations: 44.33 kB / 1.238 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4195, allocations: 3.984 kB / 1.238 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.4195, allocations: 4 kB / 1.238 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4195, allocations: 7.938 kB / 1.238 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4195, allocations: 0 / 1.238 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.4204, allocations: 323.2 kB / 1.238 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.4204, allocations: 89.02 kB / 1.238 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4205, allocations: 3.938 kB / 1.238 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4207, allocations: 35.95 kB / 1.238 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4208, allocations: 0 / 1.238 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4208, allocations: 7.984 kB / 1.238 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.4209, allocations: 117.1 kB / 1.238 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4209, allocations: 0 / 1.238 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002472/0.4211, allocations: 16 kB / 1.238 GB, free: 6.633 MB / 0.9981 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.001152/0.4223, allocations: 0.8533 MB / 1.239 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008196/0.4231, allocations: 191.8 kB / 1.239 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4231, allocations: 0 / 1.239 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.4236, allocations: 107.8 kB / 1.239 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.424, allocations: 12 kB / 1.239 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.4279, allocations: 1.977 MB / 1.241 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.4281, allocations: 0.6938 MB / 1.242 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00011/0.4282, allocations: 12 kB / 1.242 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.4283, allocations: 27.42 kB / 1.242 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.4283, allocations: 4 kB / 1.242 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.447, allocations: 2.975 MB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.837, allocations: 18.95 kB / 1.245 GB, free: 15.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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