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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9087/0.9087, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.838/1.838, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.58e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.00227/0.002306, allocations: 1.643 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5392/0.5415, allocations: 129.4 MB / 1.129 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.5416, allocations: 1.062 kB / 1.129 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.5416, allocations: 10.5 kB / 1.129 GB, free: 2.934 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.5417, allocations: 15.31 kB / 1.129 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.5425, allocations: 245.7 kB / 1.129 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.5426, allocations: 96.22 kB / 1.129 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.5427, allocations: 25.11 kB / 1.129 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.5428, allocations: 52.97 kB / 1.129 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.5429, allocations: 34.55 kB / 1.129 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.5429, allocations: 7.969 kB / 1.129 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.5432, allocations: 204.9 kB / 1.13 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.5433, allocations: 23.77 kB / 1.13 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.5433, allocations: 24.27 kB / 1.13 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.5436, allocations: 220.3 kB / 1.13 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5436, allocations: 4.609 kB / 1.13 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5436, allocations: 0 / 1.13 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5436, allocations: 0 / 1.13 GB, free: 2.547 MB / 0.9948 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.0004586/0.5441, allocations: 351.1 kB / 1.13 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.5441, allocations: 11.95 kB / 1.13 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.5448, allocations: 153 kB / 1.13 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.5449, allocations: 125 kB / 1.13 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.545, allocations: 67.61 kB / 1.13 GB, free: 2.016 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.545, allocations: 9.062 kB / 1.13 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.5453, allocations: 161.2 kB / 1.131 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5453, allocations: 0.7969 kB / 1.131 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5454, allocations: 1.094 kB / 1.131 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.5454, allocations: 1.156 kB / 1.131 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.5458, allocations: 198.1 kB / 1.131 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.5463, allocations: 343.6 kB / 1.131 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.5466, allocations: 125.1 kB / 1.131 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.5469, allocations: 100.2 kB / 1.131 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.5469, allocations: 1.219 kB / 1.131 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.5469, allocations: 37.02 kB / 1.131 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.5469, allocations: 3.938 kB / 1.131 GB, free: 1.527 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6): time 0.0007975/0.5477, allocations: 313 kB / 1.132 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.5477, allocations: 53.34 kB / 1.132 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.5478, allocations: 125.3 kB / 1.132 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.5478, allocations: 31.11 kB / 1.132 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.5478, allocations: 99.8 kB / 1.132 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.5479, allocations: 25.41 kB / 1.132 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.5479, allocations: 20.92 kB / 1.132 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.5479, allocations: 319.7 kB / 1.132 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.5481, allocations: 86.73 kB / 1.132 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.5483, allocations: 91.06 kB / 1.133 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.5487, allocations: 174.5 kB / 1.133 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5487, allocations: 0 / 1.133 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004338/0.5492, allocations: 215.5 kB / 1.133 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5492, allocations: 4.094 kB / 1.133 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5492, allocations: 2.266 kB / 1.133 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5492, allocations: 0 / 1.133 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5494, allocations: 40.23 kB / 1.133 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.5494, allocations: 3.938 kB / 1.133 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5495, allocations: 36.81 kB / 1.133 GB, free: 0.6133 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.5495, allocations: 2.672 kB / 1.133 GB, free: 0.6133 MB / 0.9948 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 5.784e-05/0.5495, allocations: 118.6 kB / 1.133 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.5496, allocations: 12.7 kB / 1.133 GB, free: 496 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.5496, allocations: 12.11 kB / 1.133 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5496, allocations: 1.219 kB / 1.133 GB, free: 492 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5496, allocations: 4.547 kB / 1.133 GB, free: 488 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5496, allocations: 0.875 kB / 1.133 GB, free: 488 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.5497, allocations: 144.8 kB / 1.133 GB, free: 344 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5497, allocations: 0 / 1.133 GB, free: 344 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5498, allocations: 40.14 kB / 1.133 GB, free: 340 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5498, allocations: 0.6562 kB / 1.133 GB, free: 340 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5499, allocations: 5.703 kB / 1.133 GB, free: 336 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5499, allocations: 3.734 kB / 1.133 GB, free: 336 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5499, allocations: 1.344 kB / 1.133 GB, free: 336 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.5503, allocations: 326.6 kB / 1.134 GB, free: 144 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-06/0.5503, allocations: 7.422 kB / 1.134 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5503, allocations: 2.016 kB / 1.134 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5505, allocations: 31.81 kB / 1.134 GB, free: 136 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.5505, allocations: 10.19 kB / 1.134 GB, free: 132 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5505, allocations: 6.047 kB / 1.134 GB, free: 128 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.5506, allocations: 95.47 kB / 1.134 GB, free: 48 kB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5506, allocations: 0 / 1.134 GB, free: 48 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001796/0.5507, allocations: 20.69 kB / 1.134 GB, free: 44 kB / 0.9948 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.0001578/0.5509, allocations: 107.2 kB / 1.134 GB, free: 15.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.5514, allocations: 185.8 kB / 1.134 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5514, allocations: 3.719 kB / 1.134 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.5516, allocations: 100.8 kB / 1.134 GB, free: 15.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5519, allocations: 9.078 kB / 1.134 GB, free: 15.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.5526, allocations: 325 kB / 1.134 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.5527, allocations: 91.84 kB / 1.135 GB, free: 15.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.5528, allocations: 15.17 kB / 1.135 GB, free: 15.61 MB / 1.01 GB Notification: Performance of SimCode: time 4.31e-07/0.5528, allocations: 0 / 1.135 GB, free: 15.61 MB / 1.01 GB Notification: Performance of Templates: time 0.002832/0.5556, allocations: 1.708 MB / 1.136 GB, free: 15.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3449948988854885]