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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007199/0.00072, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004257/0.004257, allocations: 170.4 kB / 16.26 MB, free: 6.676 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.333/2.333, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 11.98 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6024, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.001576/0.604, allocations: 1.364 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.7458, allocations: 143.4 MB / 1.165 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.7459, allocations: 8 kB / 1.165 GB, free: 14.47 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.746, allocations: 11.86 kB / 1.165 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.675e-05/0.7461, allocations: 7.875 kB / 1.165 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.7469, allocations: 219.2 kB / 1.165 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.747, allocations: 91.67 kB / 1.165 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.7471, allocations: 30.22 kB / 1.165 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.7472, allocations: 27.86 kB / 1.165 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.7473, allocations: 39.78 kB / 1.165 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.7473, allocations: 4 kB / 1.165 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.7479, allocations: 267.3 kB / 1.165 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.7479, allocations: 15.98 kB / 1.165 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.748, allocations: 69.36 kB / 1.165 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.7483, allocations: 207.4 kB / 1.165 GB, free: 13.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7483, allocations: 0 / 1.165 GB, free: 13.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7483, allocations: 0 / 1.165 GB, free: 13.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.7483, allocations: 0 / 1.165 GB, free: 13.5 MB / 0.92 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.0006333/0.749, allocations: 427.2 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.749, allocations: 12.03 kB / 1.166 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.7491, allocations: 34.75 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.7503, allocations: 160.6 kB / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7504, allocations: 183.9 kB / 1.166 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.7505, allocations: 33.7 kB / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.7506, allocations: 8 kB / 1.166 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.7511, allocations: 177.5 kB / 1.166 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7511, allocations: 0 / 1.166 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.7511, allocations: 0 / 1.166 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7512, allocations: 0 / 1.166 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.752, allocations: 215.8 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.7528, allocations: 430.2 kB / 1.167 GB, free: 11.69 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.7534, allocations: 142.4 kB / 1.167 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.7538, allocations: 108.9 kB / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.7538, allocations: 3.984 kB / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7539, allocations: 38.5 kB / 1.167 GB, free: 11.38 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.7539, allocations: 0 / 1.167 GB, free: 11.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.001469/0.7553, allocations: 333.4 kB / 1.168 GB, free: 11.05 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.7554, allocations: 55.41 kB / 1.168 GB, free: 10.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.7555, allocations: 147.7 kB / 1.168 GB, free: 10.83 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.7556, allocations: 25.7 kB / 1.168 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.7556, allocations: 100 kB / 1.168 GB, free: 10.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.7557, allocations: 19.88 kB / 1.168 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.7557, allocations: 13.72 kB / 1.168 GB, free: 10.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7558, allocations: 326.8 kB / 1.168 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.7562, allocations: 95.92 kB / 1.168 GB, free: 10.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.7566, allocations: 108.1 kB / 1.169 GB, free: 10.13 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.7574, allocations: 192.8 kB / 1.169 GB, free: 9.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7574, allocations: 0 / 1.169 GB, free: 9.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008497/0.7583, allocations: 245.4 kB / 1.169 GB, free: 9.691 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7583, allocations: 5.562 kB / 1.169 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7583, allocations: 0 / 1.169 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7583, allocations: 0 / 1.169 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.7586, allocations: 51.89 kB / 1.169 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.7586, allocations: 0 / 1.169 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.7589, allocations: 39.86 kB / 1.169 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.7589, allocations: 7.938 kB / 1.169 GB, free: 9.59 MB / 0.92 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.0001003/0.759, allocations: 113.8 kB / 1.169 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.7591, allocations: 11.84 kB / 1.169 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.7591, allocations: 12.72 kB / 1.169 GB, free: 9.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.7591, allocations: 7.969 kB / 1.169 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7591, allocations: 0 / 1.169 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7591, allocations: 0 / 1.169 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.7594, allocations: 217.6 kB / 1.169 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7594, allocations: 0 / 1.169 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.7596, allocations: 47.89 kB / 1.169 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.7597, allocations: 0 / 1.169 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7597, allocations: 0 / 1.169 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7597, allocations: 0 / 1.169 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7597, allocations: 11.97 kB / 1.169 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.7606, allocations: 339.2 kB / 1.17 GB, free: 8.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.7607, allocations: 84.95 kB / 1.17 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.7607, allocations: 0 / 1.17 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.761, allocations: 40.08 kB / 1.17 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.761, allocations: 12 kB / 1.17 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.761, allocations: 3.984 kB / 1.17 GB, free: 8.617 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.7611, allocations: 108.6 kB / 1.17 GB, free: 8.512 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7611, allocations: 0 / 1.17 GB, free: 8.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002624/0.7614, allocations: 27.94 kB / 1.17 GB, free: 8.484 MB / 0.92 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.001285/0.7627, allocations: 0.884 MB / 1.171 GB, free: 7.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008608/0.7636, allocations: 211.8 kB / 1.171 GB, free: 7.363 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7636, allocations: 0 / 1.171 GB, free: 7.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.764, allocations: 111.9 kB / 1.171 GB, free: 7.254 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.7644, allocations: 15.98 kB / 1.171 GB, free: 7.238 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.7686, allocations: 2.037 MB / 1.173 GB, free: 5.129 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.7689, allocations: 0.6965 MB / 1.174 GB, free: 4.406 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.7691, allocations: 12 kB / 1.174 GB, free: 4.395 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.7692, allocations: 27.42 kB / 1.174 GB, free: 4.367 MB / 0.92 GB Notification: Performance of SimCode: time 1.984e-06/0.7692, allocations: 0 / 1.174 GB, free: 4.367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3554/1.125, allocations: 2.516 MB / 1.176 GB, free: 2.035 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/1.125, allocations: 220.3 kB / 1.177 GB, free: 1.785 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/3.051, allocations: 4 kB / 1.177 GB, free: 1.781 MB / 0.92 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) Reference file matches