Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 98.48 kB / 16.02 MB, free: 76 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.001393/0.001393, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006058/0.0006057, allocations: 13.03 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3697, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002616/0.3723, allocations: 1.742 MB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3736, allocations: 0.5492 MB / 1.062 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.3738, allocations: 4 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.374, allocations: 11.86 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3742, allocations: 35.72 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.3746, allocations: 71.92 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.3749, allocations: 200 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.3751, allocations: 103.6 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3753, allocations: 67.59 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3754, allocations: 75.55 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3754, allocations: 8 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.3755, allocations: 19.92 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.3756, allocations: 31.84 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.3757, allocations: 101.2 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3759, allocations: 203.7 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3759, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3759, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3759, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007411/0.3767, allocations: 494.8 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3767, allocations: 11.97 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3768, allocations: 24.66 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.3771, allocations: 260.6 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3772, allocations: 16.38 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.3772, allocations: 16.38 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3776, allocations: 240.8 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3776, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3777, allocations: 8 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3777, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.378, allocations: 143.9 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.3789, allocations: 0.613 MB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.3793, allocations: 126.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3795, allocations: 57.02 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.3795, allocations: 3.938 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3795, allocations: 30.56 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3796, allocations: 4 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.000461/0.38, allocations: 181.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3801, allocations: 140.4 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3803, allocations: 216.3 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3803, allocations: 29.7 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.3804, allocations: 148.1 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3805, allocations: 31.55 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.3805, allocations: 25.72 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3806, allocations: 330.8 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3808, allocations: 43.98 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3809, allocations: 94.95 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3812, allocations: 101.6 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3812, allocations: 0 / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003294/0.3815, allocations: 169.4 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3815, allocations: 5.719 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3816, allocations: 4 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3816, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3817, allocations: 23.92 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3817, allocations: 4.031 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.3819, allocations: 35.88 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3819, allocations: 4 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001322/0.382, allocations: 133.8 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.3821, allocations: 19.81 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.3824, allocations: 155 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3825, allocations: 7.938 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3825, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3825, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.3828, allocations: 269.5 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3828, allocations: 4 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.3829, allocations: 16.45 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3829, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3829, allocations: 4 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3829, allocations: 7.938 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3829, allocations: 0 / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.3833, allocations: 239.2 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3833, allocations: 92.92 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.3834, allocations: 7.984 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3836, allocations: 31.92 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.3837, allocations: 27.95 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3837, allocations: 8 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3838, allocations: 147.4 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3838, allocations: 0 / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002819/0.3841, allocations: 39.84 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001901/0.3843, allocations: 115.2 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3846, allocations: 123 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3846, allocations: 3.938 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3848, allocations: 55.97 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3851, allocations: 24.5 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.3859, allocations: 430.1 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3862, allocations: 0.7285 MB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.3863, allocations: 27.7 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3863, allocations: 0 / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.005163/0.3914, allocations: 2.343 MB / 1.071 GB, free: 8.711 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches