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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.0008678, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.979/2.979, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 13.17 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002121/0.33, allocations: 1.37 MB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.4912, allocations: 143.4 MB / 1.201 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4913, allocations: 0 / 1.201 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.4914, allocations: 3.938 kB / 1.201 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.4915, allocations: 15.84 kB / 1.201 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.4925, allocations: 227.3 kB / 1.201 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.4927, allocations: 79.72 kB / 1.201 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4928, allocations: 23.97 kB / 1.201 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.4929, allocations: 31.86 kB / 1.201 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.493, allocations: 39.83 kB / 1.201 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.493, allocations: 4 kB / 1.201 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.4937, allocations: 279.2 kB / 1.201 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.4937, allocations: 11.98 kB / 1.201 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.4938, allocations: 61.44 kB / 1.201 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.4941, allocations: 140 kB / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4941, allocations: 0 / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4941, allocations: 0 / 1.202 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4942, allocations: 0 / 1.202 GB, free: 2.699 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.0006628/0.4948, allocations: 423.2 kB / 1.202 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4949, allocations: 11.97 kB / 1.202 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.4961, allocations: 156.7 kB / 1.202 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4963, allocations: 188.1 kB / 1.202 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.4964, allocations: 41.64 kB / 1.202 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.4965, allocations: 8 kB / 1.202 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.4971, allocations: 173.5 kB / 1.203 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.4971, allocations: 0 / 1.203 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4971, allocations: 0 / 1.203 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4971, allocations: 4 kB / 1.203 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.498, allocations: 215.8 kB / 1.203 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.4989, allocations: 426.2 kB / 1.203 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.4994, allocations: 138.5 kB / 1.203 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.4998, allocations: 112.9 kB / 1.203 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4999, allocations: 3.984 kB / 1.203 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4999, allocations: 42.42 kB / 1.203 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4999, allocations: 0 / 1.203 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001411/0.5013, allocations: 337.4 kB / 1.204 GB, free: 300 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5014, allocations: 55.41 kB / 1.204 GB, free: 232 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.5015, allocations: 143 kB / 1.204 GB, free: 80 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5015, allocations: 25.7 kB / 1.204 GB, free: 48 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.5016, allocations: 100 kB / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.5017, allocations: 19.88 kB / 1.204 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.443e-05/0.5018, allocations: 13.72 kB / 1.204 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5019, allocations: 318.8 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.5023, allocations: 103.9 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.5028, allocations: 99.92 kB / 1.205 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.5036, allocations: 201 kB / 1.205 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5036, allocations: 0 / 1.205 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008633/0.5045, allocations: 237.4 kB / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5045, allocations: 7.938 kB / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5045, allocations: 0 / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5045, allocations: 4 kB / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5048, allocations: 43.95 kB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5049, allocations: 0 / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.5051, allocations: 43.86 kB / 1.205 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.5051, allocations: 0 / 1.205 GB, free: 14.85 MB / 0.9669 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.0001237/0.5053, allocations: 117.8 kB / 1.205 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.5053, allocations: 11.84 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.5053, allocations: 12.72 kB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5054, allocations: 0 / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5054, allocations: 0 / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.5054, allocations: 7.984 kB / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.5057, allocations: 225.5 kB / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5057, allocations: 0 / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.506, allocations: 39.95 kB / 1.206 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.506, allocations: 7.938 kB / 1.206 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.506, allocations: 0 / 1.206 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.506, allocations: 7.938 kB / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.506, allocations: 0 / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.5069, allocations: 339.2 kB / 1.206 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.507, allocations: 88.95 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.507, allocations: 4 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.5073, allocations: 27.97 kB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.5074, allocations: 11.98 kB / 1.206 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.5074, allocations: 4.125 kB / 1.206 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.5075, allocations: 118.3 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5075, allocations: 0 / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000254/0.5077, allocations: 20 kB / 1.206 GB, free: 13.73 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.0001683/0.5079, allocations: 103.2 kB / 1.206 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009533/0.5089, allocations: 215.8 kB / 1.206 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5089, allocations: 0 / 1.206 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.5093, allocations: 115.8 kB / 1.207 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5097, allocations: 10.39 kB / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.511, allocations: 356.5 kB / 1.207 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.5113, allocations: 0.7004 MB / 1.208 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5115, allocations: 11.44 kB / 1.208 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.5115, allocations: 0 / 1.208 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.003504/0.515, allocations: 1.725 MB / 1.209 GB, free: 10.45 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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