Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 108 kB / 15.61 MB, free: 152 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.002009/0.002009, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5877, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002633/0.5904, allocations: 1.672 MB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.7501, allocations: 147.3 MB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.7502, allocations: 3.938 kB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.7503, allocations: 11.88 kB / 1.095 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.7504, allocations: 11.81 kB / 1.095 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.7513, allocations: 243.1 kB / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.7514, allocations: 91.7 kB / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.7515, allocations: 35.88 kB / 1.095 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.7516, allocations: 35.86 kB / 1.095 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.7517, allocations: 43.83 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.7517, allocations: 8 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.7522, allocations: 247.4 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.7523, allocations: 19.91 kB / 1.096 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.7523, allocations: 39.8 kB / 1.096 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.7527, allocations: 205.4 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7527, allocations: 4 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7527, allocations: 0 / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7527, allocations: 4 kB / 1.096 GB, free: 11.38 MB / 0.8575 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.000655/0.7534, allocations: 424.6 kB / 1.096 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.7534, allocations: 8.031 kB / 1.096 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.7547, allocations: 160.6 kB / 1.097 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.7548, allocations: 179.6 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.7549, allocations: 29.7 kB / 1.097 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.7549, allocations: 12 kB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.7555, allocations: 165.4 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7555, allocations: 0 / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.7556, allocations: 4 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7556, allocations: 4 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.7564, allocations: 191.8 kB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.7573, allocations: 438.3 kB / 1.098 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.7579, allocations: 122.5 kB / 1.098 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.7583, allocations: 104.8 kB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.7583, allocations: 0 / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.7583, allocations: 38.56 kB / 1.098 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.7583, allocations: 0 / 1.098 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001426/0.7598, allocations: 313.3 kB / 1.098 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7598, allocations: 51.41 kB / 1.098 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.76, allocations: 142.5 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.76, allocations: 25.7 kB / 1.098 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.76, allocations: 100.1 kB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.7601, allocations: 15.72 kB / 1.098 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.7601, allocations: 21.7 kB / 1.098 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7603, allocations: 326.8 kB / 1.099 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.7607, allocations: 91.91 kB / 1.099 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.7611, allocations: 92.22 kB / 1.099 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.7619, allocations: 172.7 kB / 1.099 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7619, allocations: 0 / 1.099 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008572/0.7627, allocations: 225.3 kB / 1.099 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7628, allocations: 5.719 kB / 1.099 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7628, allocations: 0 / 1.099 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7628, allocations: 4 kB / 1.099 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.7631, allocations: 31.95 kB / 1.099 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7631, allocations: 8 kB / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.7634, allocations: 35.89 kB / 1.099 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.7634, allocations: 4 kB / 1.099 GB, free: 7.672 MB / 0.8575 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 9.116e-05/0.7635, allocations: 113.8 kB / 1.1 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.7635, allocations: 15.84 kB / 1.1 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.7636, allocations: 8.719 kB / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7636, allocations: 0 / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7636, allocations: 4 kB / 1.1 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7636, allocations: 3.984 kB / 1.1 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.7638, allocations: 221.3 kB / 1.1 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7639, allocations: 0 / 1.1 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.7642, allocations: 43.89 kB / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7642, allocations: 0 / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.7642, allocations: 4 kB / 1.1 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7642, allocations: 3.984 kB / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7642, allocations: 0 / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.7651, allocations: 311.2 kB / 1.1 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.7652, allocations: 89 kB / 1.1 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.7652, allocations: 4.125 kB / 1.1 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.7655, allocations: 27.97 kB / 1.1 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.7656, allocations: 15.97 kB / 1.1 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7656, allocations: 4 kB / 1.1 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.7657, allocations: 109.1 kB / 1.1 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7657, allocations: 0 / 1.1 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000256/0.7659, allocations: 23.91 kB / 1.1 GB, free: 6.598 MB / 0.8575 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.0001878/0.7661, allocations: 111.2 kB / 1.1 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008976/0.767, allocations: 195.8 kB / 1.101 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.767, allocations: 4 kB / 1.101 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.7675, allocations: 99.84 kB / 1.101 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.7678, allocations: 19.88 kB / 1.101 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.7691, allocations: 302.4 kB / 1.101 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7694, allocations: 0.6963 MB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.7696, allocations: 12 kB / 1.102 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.7696, allocations: 15.42 kB / 1.102 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of SimCode: time 1.8e-07/0.7696, allocations: 0 / 1.102 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of Templates: time 0.004524/0.7742, allocations: 1.581 MB / 1.103 GB, free: 3.535 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches