Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008683/0.008683, allocations: 97.62 kB / 15.73 MB, free: 6.039 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.00175/0.00175, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.938/2.938, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 75.89 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3676, allocations: 159.1 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002996/0.3706, allocations: 1.65 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9089/1.28, allocations: 147.7 MB / 1.366 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/1.28, allocations: 1.156 kB / 1.366 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.472e-05/1.28, allocations: 13.86 kB / 1.366 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/1.28, allocations: 15.78 kB / 1.367 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/1.281, allocations: 252.6 kB / 1.367 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000167/1.281, allocations: 88.05 kB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/1.281, allocations: 18.94 kB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/1.281, allocations: 35.77 kB / 1.367 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/1.281, allocations: 50.97 kB / 1.367 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/1.281, allocations: 7.656 kB / 1.367 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/1.282, allocations: 256.5 kB / 1.367 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/1.282, allocations: 16.34 kB / 1.367 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/1.282, allocations: 41.73 kB / 1.367 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/1.282, allocations: 203.6 kB / 1.367 GB, free: 15.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.282, allocations: 0 / 1.367 GB, free: 15.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/1.282, allocations: 0 / 1.367 GB, free: 15.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.68e-06/1.282, allocations: 4.875 kB / 1.367 GB, free: 15.34 MB / 1.076 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.0006238/1.283, allocations: 432.9 kB / 1.368 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.283, allocations: 11.97 kB / 1.368 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.284, allocations: 153.6 kB / 1.368 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.284, allocations: 183.4 kB / 1.368 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/1.284, allocations: 35.11 kB / 1.368 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/1.284, allocations: 7.281 kB / 1.368 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/1.285, allocations: 157.7 kB / 1.368 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/1.285, allocations: 1.156 kB / 1.368 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/1.285, allocations: 4 kB / 1.368 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.285, allocations: 6.156 kB / 1.368 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/1.286, allocations: 196.4 kB / 1.369 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/1.287, allocations: 424.4 kB / 1.369 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/1.287, allocations: 131.1 kB / 1.369 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/1.287, allocations: 104.1 kB / 1.369 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/1.287, allocations: 5.078 kB / 1.369 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/1.287, allocations: 37.03 kB / 1.369 GB, free: 14.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1.287, allocations: 1.25 kB / 1.369 GB, free: 14.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.00131/1.289, allocations: 313.9 kB / 1.37 GB, free: 13.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.289, allocations: 52.62 kB / 1.37 GB, free: 13.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.289, allocations: 142.9 kB / 1.37 GB, free: 13.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/1.289, allocations: 25.7 kB / 1.37 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/1.289, allocations: 103.4 kB / 1.37 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.289, allocations: 22.78 kB / 1.37 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/1.289, allocations: 17.17 kB / 1.37 GB, free: 13.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.289, allocations: 320.4 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/1.29, allocations: 94.22 kB / 1.37 GB, free: 13.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/1.29, allocations: 89.08 kB / 1.37 GB, free: 13.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/1.291, allocations: 174.3 kB / 1.371 GB, free: 13.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.291, allocations: 0 / 1.371 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007964/1.291, allocations: 222.6 kB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.291, allocations: 8.594 kB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.291, allocations: 1.094 kB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.291, allocations: 0.6094 kB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/1.292, allocations: 40.39 kB / 1.371 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/1.292, allocations: 0 / 1.371 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/1.292, allocations: 34.58 kB / 1.371 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.292, allocations: 2.531 kB / 1.371 GB, free: 13.17 MB / 1.076 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.0001073/1.292, allocations: 113.4 kB / 1.371 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/1.292, allocations: 17.28 kB / 1.371 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/1.292, allocations: 12.31 kB / 1.371 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.292, allocations: 1.469 kB / 1.371 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.292, allocations: 0 / 1.371 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.292, allocations: 1.031 kB / 1.371 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/1.292, allocations: 224.1 kB / 1.371 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.292, allocations: 4 kB / 1.371 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/1.293, allocations: 39.73 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.293, allocations: 3.938 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/1.293, allocations: 5.344 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.293, allocations: 0 / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.293, allocations: 1.469 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/1.294, allocations: 314.2 kB / 1.372 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/1.294, allocations: 97.42 kB / 1.372 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.294, allocations: 0 / 1.372 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/1.294, allocations: 31.59 kB / 1.372 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.294, allocations: 5.734 kB / 1.372 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.294, allocations: 6.969 kB / 1.372 GB, free: 12.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.219e-05/1.294, allocations: 110.9 kB / 1.372 GB, free: 12.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.294, allocations: 0 / 1.372 GB, free: 12.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002577/1.294, allocations: 17.44 kB / 1.372 GB, free: 12.42 MB / 1.076 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.0002088/1.295, allocations: 106.6 kB / 1.372 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008541/1.295, allocations: 191.5 kB / 1.372 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.295, allocations: 0 / 1.372 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/1.296, allocations: 94.8 kB / 1.372 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/1.296, allocations: 19.36 kB / 1.372 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.297, allocations: 314.2 kB / 1.372 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.298, allocations: 0.7001 MB / 1.373 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001058/1.298, allocations: 13.09 kB / 1.373 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/1.298, allocations: 14.05 kB / 1.373 GB, free: 11.38 MB / 1.076 GB Notification: Performance of SimCode: time 6.92e-07/1.298, allocations: 0 / 1.373 GB, free: 11.38 MB / 1.076 GB Notification: Performance of Templates: time 0.004541/1.302, allocations: 1.604 MB / 1.375 GB, free: 11.12 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches