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.00187/0.00187, allocations: 100.1 kB / 15.88 MB, free: 12 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.0027/0.0027, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.447/1.447, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.5 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3631, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003451/0.3666, allocations: 1.716 MB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5211, allocations: 145 MB / 1.196 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.5213, allocations: 4 kB / 1.196 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.085e-05/0.5214, allocations: 3.938 kB / 1.196 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.5215, allocations: 15.84 kB / 1.196 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.5224, allocations: 215.3 kB / 1.196 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.5225, allocations: 83.77 kB / 1.196 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5226, allocations: 27.97 kB / 1.196 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.5227, allocations: 31.86 kB / 1.196 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.5228, allocations: 43.83 kB / 1.196 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.5229, allocations: 11.94 kB / 1.196 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.5234, allocations: 271.3 kB / 1.197 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.5235, allocations: 15.98 kB / 1.197 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.5235, allocations: 39.72 kB / 1.197 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.5238, allocations: 144 kB / 1.197 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5238, allocations: 3.984 kB / 1.197 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5238, allocations: 0 / 1.197 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5238, allocations: 0 / 1.197 GB, free: 4.137 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.0006708/0.5245, allocations: 431 kB / 1.197 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5246, allocations: 11.97 kB / 1.197 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.5258, allocations: 152.7 kB / 1.197 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.526, allocations: 184.2 kB / 1.198 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.5261, allocations: 37.64 kB / 1.198 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5261, allocations: 8 kB / 1.198 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.5267, allocations: 156.1 kB / 1.198 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5267, allocations: 4 kB / 1.198 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.5267, allocations: 8 kB / 1.198 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5267, allocations: 4 kB / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.5275, allocations: 191.8 kB / 1.198 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.5284, allocations: 434.2 kB / 1.198 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.529, allocations: 138.4 kB / 1.199 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.5294, allocations: 92.91 kB / 1.199 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5294, allocations: 0 / 1.199 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5294, allocations: 38.5 kB / 1.199 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.5294, allocations: 0 / 1.199 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001375/0.5308, allocations: 309.3 kB / 1.199 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.5309, allocations: 55.41 kB / 1.199 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.531, allocations: 135.5 kB / 1.199 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.531, allocations: 33.7 kB / 1.199 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.5311, allocations: 96.12 kB / 1.199 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.5311, allocations: 23.78 kB / 1.199 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.5312, allocations: 21.7 kB / 1.199 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5313, allocations: 326.8 kB / 1.2 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.5317, allocations: 87.92 kB / 1.2 GB, free: 1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.5321, allocations: 87.91 kB / 1.2 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.5328, allocations: 172.7 kB / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5328, allocations: 0 / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008028/0.5337, allocations: 221.4 kB / 1.2 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5337, allocations: 11.94 kB / 1.2 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5337, allocations: 0 / 1.2 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5337, allocations: 0 / 1.2 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.534, allocations: 43.89 kB / 1.2 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5341, allocations: 0 / 1.2 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.5343, allocations: 35.95 kB / 1.2 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.5343, allocations: 448 / 1.2 GB, free: 440 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 0.0001053/0.5344, allocations: 113.8 kB / 1.2 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.5345, allocations: 11.84 kB / 1.2 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.5345, allocations: 8.719 kB / 1.2 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.5345, allocations: 7.984 kB / 1.2 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5345, allocations: 4 kB / 1.2 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5346, allocations: 3.938 kB / 1.2 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.5348, allocations: 225.4 kB / 1.201 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5348, allocations: 4.047 kB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.5351, allocations: 31.91 kB / 1.201 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5351, allocations: 7.938 kB / 1.201 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.5351, allocations: 3.984 kB / 1.201 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5351, allocations: 4 kB / 1.201 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5352, allocations: 0 / 1.201 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.536, allocations: 315.2 kB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.5361, allocations: 88.94 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.5361, allocations: 0 / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.5364, allocations: 35.97 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.5365, allocations: 11.97 kB / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5365, allocations: 0 / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.5366, allocations: 112.8 kB / 1.201 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5366, allocations: 0 / 1.201 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002611/0.5368, allocations: 24 kB / 1.201 GB, free: 15.34 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.0001682/0.537, allocations: 103.2 kB / 1.201 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008031/0.5378, allocations: 199.7 kB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5378, allocations: 0 / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.5382, allocations: 99.91 kB / 1.202 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5386, allocations: 12 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5398, allocations: 353.7 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5401, allocations: 0.6926 MB / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.5402, allocations: 15.42 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.5402, allocations: 3.938 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of Templates: time 0.003679/0.5439, allocations: 1.73 MB / 1.204 GB, free: 12.09 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