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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00126/0.00126, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001282/0.001282, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.644/2.644, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.28 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7547, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002805/0.7576, allocations: 1.649 MB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.9506, allocations: 147.3 MB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.9508, allocations: 0 / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.178e-05/0.9508, allocations: 11.86 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.951, allocations: 19.8 kB / 1.228 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.9519, allocations: 251.1 kB / 1.229 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.9521, allocations: 83.72 kB / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.9522, allocations: 23.98 kB / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.9523, allocations: 43.84 kB / 1.229 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.9524, allocations: 47.77 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.9524, allocations: 8 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.9529, allocations: 243.4 kB / 1.229 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.9529, allocations: 19.97 kB / 1.229 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.953, allocations: 39.73 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.9534, allocations: 205.5 kB / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9534, allocations: 0 / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9534, allocations: 0 / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.9534, allocations: 0 / 1.229 GB, free: 8.566 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.0007124/0.9541, allocations: 431 kB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9542, allocations: 12.03 kB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.9554, allocations: 152.6 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.9555, allocations: 183.8 kB / 1.23 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.9556, allocations: 49.62 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.9557, allocations: 4 kB / 1.23 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.9562, allocations: 161.5 kB / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.9563, allocations: 0 / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.9563, allocations: 7.984 kB / 1.23 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9563, allocations: 4 kB / 1.23 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.9571, allocations: 195.8 kB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.958, allocations: 422.3 kB / 1.231 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.9586, allocations: 134.4 kB / 1.231 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.959, allocations: 96.89 kB / 1.231 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.959, allocations: 11.98 kB / 1.231 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.9591, allocations: 34.5 kB / 1.231 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.9591, allocations: 0 / 1.231 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001396/0.9605, allocations: 305.3 kB / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.9605, allocations: 55.41 kB / 1.231 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.9607, allocations: 147.7 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.9607, allocations: 25.7 kB / 1.232 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.9608, allocations: 104 kB / 1.232 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.9608, allocations: 15.88 kB / 1.232 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.9609, allocations: 21.72 kB / 1.232 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9611, allocations: 318.8 kB / 1.232 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.9615, allocations: 91.91 kB / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.9619, allocations: 83.92 kB / 1.232 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.9626, allocations: 172.7 kB / 1.232 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9627, allocations: 3.938 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008458/0.9635, allocations: 217.4 kB / 1.233 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.9635, allocations: 11.88 kB / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9635, allocations: 0 / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9636, allocations: 0 / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.9639, allocations: 47.89 kB / 1.233 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.9639, allocations: 448 / 1.233 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.9641, allocations: 39.86 kB / 1.233 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.9641, allocations: 0 / 1.233 GB, free: 4.852 MB / 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 0.0001159/0.9643, allocations: 113.8 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.9643, allocations: 11.84 kB / 1.233 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.9644, allocations: 20.7 kB / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.9644, allocations: 0 / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9644, allocations: 0 / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9644, allocations: 4 kB / 1.233 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.9646, allocations: 221.6 kB / 1.233 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9647, allocations: 0 / 1.233 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.9649, allocations: 35.95 kB / 1.233 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.9649, allocations: 7.922 kB / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.965, allocations: 0 / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.965, allocations: 4 kB / 1.233 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.965, allocations: 0 / 1.233 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.9659, allocations: 319.2 kB / 1.233 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.966, allocations: 84.95 kB / 1.233 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.966, allocations: 4 kB / 1.234 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.9663, allocations: 35.95 kB / 1.234 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.9663, allocations: 4 kB / 1.234 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9664, allocations: 3.984 kB / 1.234 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.9665, allocations: 111.3 kB / 1.234 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9665, allocations: 0 / 1.234 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002426/0.9667, allocations: 19.94 kB / 1.234 GB, free: 3.777 MB / 0.9512 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.0001753/0.9669, allocations: 107.8 kB / 1.234 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008838/0.9678, allocations: 195.8 kB / 1.234 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9678, allocations: 0 / 1.234 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.9682, allocations: 99.84 kB / 1.234 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.9686, allocations: 18.22 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.9699, allocations: 340 kB / 1.234 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9703, allocations: 0.6885 MB / 1.235 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.9704, allocations: 23.42 kB / 1.235 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.9704, allocations: 7.938 kB / 1.235 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.004039/0.9744, allocations: 1.719 MB / 1.237 GB, free: 0.5391 MB / 0.9512 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=400 -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