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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.011/0.011, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002194/0.002194, allocations: 202 kB / 16.68 MB, free: 5.969 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.835/2.835, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.004952/0.4143, allocations: 1.644 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.064/1.478, allocations: 147.3 MB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/1.479, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/1.479, allocations: 11.28 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/1.479, allocations: 18.25 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/1.48, allocations: 245.5 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/1.48, allocations: 93.03 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/1.48, allocations: 35.14 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/1.48, allocations: 38.7 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/1.48, allocations: 40.89 kB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/1.48, allocations: 7.875 kB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/1.481, allocations: 245.5 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/1.481, allocations: 22.33 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/1.481, allocations: 38.33 kB / 1.313 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/1.481, allocations: 206.5 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.481, allocations: 0 / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.481, allocations: 7.719 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.481, allocations: 0 / 1.313 GB, free: 12.79 MB / 1.014 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.0006619/1.482, allocations: 432.7 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/1.482, allocations: 9.719 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.483, allocations: 153.7 kB / 1.314 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.483, allocations: 179.5 kB / 1.314 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/1.483, allocations: 43.77 kB / 1.314 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.483, allocations: 7.656 kB / 1.314 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/1.484, allocations: 160.4 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.484, allocations: 0 / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.484, allocations: 5.234 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.484, allocations: 1 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/1.485, allocations: 201 kB / 1.314 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/1.486, allocations: 425.8 kB / 1.315 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/1.486, allocations: 134.6 kB / 1.315 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/1.487, allocations: 95.3 kB / 1.315 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.487, allocations: 1.156 kB / 1.315 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/1.487, allocations: 38.45 kB / 1.315 GB, free: 11.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1.487, allocations: 1.062 kB / 1.315 GB, free: 11.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001332/1.488, allocations: 317 kB / 1.315 GB, free: 11.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.488, allocations: 52.47 kB / 1.315 GB, free: 11.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.488, allocations: 149.8 kB / 1.315 GB, free: 11.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/1.488, allocations: 26.77 kB / 1.315 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/1.488, allocations: 96.06 kB / 1.315 GB, free: 11.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/1.488, allocations: 24.22 kB / 1.315 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/1.488, allocations: 21.03 kB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.488, allocations: 322.5 kB / 1.316 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.489, allocations: 91.81 kB / 1.316 GB, free: 11.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/1.489, allocations: 92.67 kB / 1.316 GB, free: 11.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/1.49, allocations: 170 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.49, allocations: 1.156 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008289/1.491, allocations: 222 kB / 1.316 GB, free: 10.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.491, allocations: 9.375 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.491, allocations: 0.6094 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.491, allocations: 1.125 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/1.491, allocations: 35.45 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.491, allocations: 1.719 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.491, allocations: 35.47 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/1.491, allocations: 2.797 kB / 1.316 GB, free: 10.94 MB / 1.014 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.000104/1.492, allocations: 113.5 kB / 1.317 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/1.492, allocations: 12.88 kB / 1.317 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/1.492, allocations: 15.34 kB / 1.317 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.492, allocations: 1.125 kB / 1.317 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.492, allocations: 0 / 1.317 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.492, allocations: 1.922 kB / 1.317 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/1.492, allocations: 221.2 kB / 1.317 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.492, allocations: 0.9062 kB / 1.317 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.492, allocations: 39.64 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.492, allocations: 8.875 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.492, allocations: 1.875 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.492, allocations: 1.75 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.492, allocations: 1.859 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/1.493, allocations: 309.4 kB / 1.317 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/1.493, allocations: 92.83 kB / 1.317 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.493, allocations: 5.734 kB / 1.317 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/1.494, allocations: 31.12 kB / 1.317 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/1.494, allocations: 9.234 kB / 1.317 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.494, allocations: 2.734 kB / 1.317 GB, free: 10.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.985e-05/1.494, allocations: 111.2 kB / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.494, allocations: 0 / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003101/1.494, allocations: 17.16 kB / 1.317 GB, free: 10.28 MB / 1.014 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.0001898/1.494, allocations: 110.8 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009283/1.495, allocations: 191.7 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.495, allocations: 0 / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/1.496, allocations: 99.78 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/1.496, allocations: 23 kB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/1.497, allocations: 314.6 kB / 1.318 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/1.498, allocations: 0.6925 MB / 1.319 GB, free: 9.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001189/1.498, allocations: 14.8 kB / 1.319 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/1.498, allocations: 20.39 kB / 1.319 GB, free: 9.301 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/1.498, allocations: 0 / 1.319 GB, free: 9.301 MB / 1.014 GB Notification: Performance of Templates: time 0.006322/1.504, allocations: 1.593 MB / 1.32 GB, free: 9.188 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (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 & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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