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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008096/0.008096, allocations: 102 kB / 15.73 MB, free: 6.051 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.001946/0.001946, allocations: 195 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 67.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003677/0.3317, allocations: 2.033 MB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.333, allocations: 0.5726 MB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3332, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3333, allocations: 19.73 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.3335, allocations: 43.59 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.3338, allocations: 79.84 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3341, allocations: 224 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.3343, allocations: 115.6 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3345, allocations: 95.58 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3347, allocations: 99.53 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.3347, allocations: 24 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.3348, allocations: 35.98 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.3349, allocations: 55.78 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.335, allocations: 103.5 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3354, allocations: 279 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3355, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3355, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.3355, allocations: 4 kB / 1.211 GB, free: 5.867 MB / 0.9669 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.0008743/0.3364, allocations: 0.5103 MB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3364, allocations: 16.56 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.3365, allocations: 24.66 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3368, allocations: 260.6 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3369, allocations: 12.38 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3369, allocations: 24.38 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.3373, allocations: 221 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3373, allocations: 0 / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3374, allocations: 15.92 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3374, allocations: 4 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.3377, allocations: 143.9 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.3387, allocations: 0.5893 MB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3391, allocations: 118.8 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3392, allocations: 48.83 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.3393, allocations: 4.188 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3393, allocations: 38.5 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.3393, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000462/0.3398, allocations: 173.4 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.3399, allocations: 136.5 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3401, allocations: 210.9 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3401, allocations: 29.7 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.3402, allocations: 144.2 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3402, allocations: 35.55 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.3403, allocations: 33.7 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3404, allocations: 330.8 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3406, allocations: 51.97 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3407, allocations: 80.27 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3409, allocations: 95.5 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3409, allocations: 0 / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003091/0.3413, allocations: 150.2 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3413, allocations: 8.312 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3413, allocations: 4 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3413, allocations: 3.984 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3414, allocations: 23.92 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3414, allocations: 3.938 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.3416, allocations: 27.92 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3416, allocations: 4 kB / 1.215 GB, free: 2.066 MB / 0.9669 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.3417, allocations: 135.2 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.3418, allocations: 23.75 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.3422, allocations: 139 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3422, allocations: 3.938 kB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3422, allocations: 12 kB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3422, allocations: 3.984 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.3425, allocations: 273.4 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3425, allocations: 4 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.3426, allocations: 8 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3426, allocations: 3.984 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3427, allocations: 4 kB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3427, allocations: 3.938 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3427, allocations: 0 / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.343, allocations: 231.2 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.3431, allocations: 92.92 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3431, allocations: 4 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3433, allocations: 23.91 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.3434, allocations: 23.97 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3434, allocations: 7.984 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001291/0.3435, allocations: 156.4 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3435, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002724/0.3438, allocations: 39.84 kB / 1.216 GB, free: 0.8047 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: 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.0001588/0.344, allocations: 107.4 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.3443, allocations: 111.8 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3443, allocations: 12.05 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3444, allocations: 47.92 kB / 1.216 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3448, allocations: 20.03 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.3454, allocations: 340.8 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3459, allocations: 0.7358 MB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.146e-05/0.346, allocations: 17.42 kB / 1.217 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.346, allocations: 15.44 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.346, allocations: 4 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.005368/0.3514, allocations: 2.245 MB / 1.22 GB, free: 13.15 MB / 0.9825 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/jenkins/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