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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001834/0.001834, allocations: 191.4 kB / 16.14 MB, free: 6.652 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.461/2.461, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2359, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002688/0.2387, allocations: 1.716 MB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.3743, allocations: 145 MB / 1.195 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.3744, allocations: 4 kB / 1.195 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.3745, allocations: 3.938 kB / 1.195 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.3746, allocations: 15.84 kB / 1.195 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.3753, allocations: 215.3 kB / 1.196 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3755, allocations: 87.77 kB / 1.196 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.3755, allocations: 28.2 kB / 1.196 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.3756, allocations: 27.86 kB / 1.196 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.3757, allocations: 47.81 kB / 1.196 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3757, allocations: 11.94 kB / 1.196 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.3762, allocations: 271.3 kB / 1.196 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.3762, allocations: 15.98 kB / 1.196 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.3763, allocations: 39.73 kB / 1.196 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3766, allocations: 211.4 kB / 1.196 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3766, allocations: 0 / 1.196 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3766, allocations: 0 / 1.196 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3767, allocations: 0 / 1.196 GB, free: 3.973 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.0005873/0.3772, allocations: 432.6 kB / 1.197 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3773, allocations: 19.97 kB / 1.197 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.3773, allocations: 34.75 kB / 1.197 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.3785, allocations: 156.6 kB / 1.197 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3786, allocations: 183.9 kB / 1.197 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.3787, allocations: 29.7 kB / 1.197 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3787, allocations: 8 kB / 1.197 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.3793, allocations: 157.5 kB / 1.197 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3793, allocations: 0 / 1.197 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3793, allocations: 8 kB / 1.197 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3793, allocations: 4 kB / 1.197 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.3801, allocations: 191.8 kB / 1.198 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.3809, allocations: 430.2 kB / 1.198 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.3814, allocations: 122.5 kB / 1.198 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.3818, allocations: 100.9 kB / 1.198 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3818, allocations: 0 / 1.198 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3819, allocations: 46.44 kB / 1.198 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3819, allocations: 0 / 1.198 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0013/0.3832, allocations: 305.3 kB / 1.199 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3832, allocations: 55.41 kB / 1.199 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3833, allocations: 143.5 kB / 1.199 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3834, allocations: 25.7 kB / 1.199 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.3834, allocations: 100.1 kB / 1.199 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3834, allocations: 27.78 kB / 1.199 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3835, allocations: 21.7 kB / 1.199 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3836, allocations: 318.8 kB / 1.199 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.384, allocations: 87.91 kB / 1.199 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.3843, allocations: 96.09 kB / 1.199 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.385, allocations: 172.8 kB / 1.2 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.385, allocations: 3.938 kB / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007396/0.3858, allocations: 221.4 kB / 1.2 GB, free: 312 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3858, allocations: 9.547 kB / 1.2 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3858, allocations: 4 kB / 1.2 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.3858, allocations: 4 kB / 1.2 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3861, allocations: 35.95 kB / 1.2 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3861, allocations: 0 / 1.2 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3863, allocations: 31.97 kB / 1.2 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3864, allocations: 7.984 kB / 1.2 GB, free: 220 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 8.508e-05/0.3865, allocations: 117.8 kB / 1.2 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3865, allocations: 15.83 kB / 1.2 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.3865, allocations: 8.719 kB / 1.2 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3866, allocations: 4 kB / 1.2 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3866, allocations: 0 / 1.2 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3866, allocations: 4 kB / 1.2 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3868, allocations: 217.4 kB / 1.2 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3868, allocations: 0 / 1.2 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.3871, allocations: 43.89 kB / 1.2 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3871, allocations: 4 kB / 1.2 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3871, allocations: 0 / 1.2 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3871, allocations: 4 kB / 1.2 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3871, allocations: 0 / 1.2 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.3879, allocations: 315.3 kB / 1.201 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.388, allocations: 92.95 kB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.388, allocations: 0 / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3883, allocations: 35.95 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.3883, allocations: 7.984 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3883, allocations: 4 kB / 1.201 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.3884, allocations: 112.2 kB / 1.201 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3884, allocations: 0 / 1.201 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000237/0.3887, allocations: 16 kB / 1.201 GB, free: 15.14 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.001056/0.3897, allocations: 0.8606 MB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007435/0.3905, allocations: 187.8 kB / 1.202 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3905, allocations: 3.938 kB / 1.202 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.3909, allocations: 103.8 kB / 1.202 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3912, allocations: 12.73 kB / 1.202 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.3948, allocations: 1.99 MB / 1.204 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.395, allocations: 0.6965 MB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.3952, allocations: 12 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.3953, allocations: 27.42 kB / 1.205 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3953, allocations: 0 / 1.205 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/0.57, allocations: 2.582 MB / 1.207 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.5703, allocations: 233.2 kB / 1.207 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.186, allocations: 0 / 1.207 GB, free: 8.449 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