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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"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: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.234/3.234, allocations: 0.4893 GB / 0.7884 GB, free: 33.08 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 64.84 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003364/0.2864, allocations: 2.064 MB / 1.318 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001029/0.2874, allocations: 0.5805 MB / 1.319 GB, free: 7.062 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.2875, allocations: 11.94 kB / 1.319 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.2876, allocations: 19.73 kB / 1.319 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.2877, allocations: 35.59 kB / 1.319 GB, free: 6.996 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.288, allocations: 83.84 kB / 1.319 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002574/0.2883, allocations: 228 kB / 1.319 GB, free: 6.688 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.2885, allocations: 92.84 kB / 1.319 GB, free: 6.594 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2886, allocations: 95.58 kB / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2888, allocations: 103.5 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.2888, allocations: 24 kB / 1.319 GB, free: 6.375 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.2889, allocations: 35.98 kB / 1.319 GB, free: 6.34 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.289, allocations: 51.84 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2891, allocations: 111.3 kB / 1.319 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2894, allocations: 274.9 kB / 1.32 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2894, allocations: 0 / 1.32 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.2894, allocations: 0 / 1.32 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.501e-06/0.2894, allocations: 0 / 1.32 GB, free: 5.91 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: 42
 * Number of variables: 42
Notification: Performance of Generate backend data structure: time 0.0008268/0.2903, allocations: 457.2 kB / 1.32 GB, free: 5.434 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2903, allocations: 8.031 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.2904, allocations: 32.75 kB / 1.32 GB, free: 5.395 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.2907, allocations: 192.1 kB / 1.32 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2907, allocations: 16.38 kB / 1.32 GB, free: 5.164 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.2908, allocations: 20.31 kB / 1.32 GB, free: 5.145 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.2912, allocations: 229 kB / 1.321 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2912, allocations: 0 / 1.321 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2912, allocations: 8 kB / 1.321 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.2912, allocations: 7.984 kB / 1.321 GB, free: 4.887 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.2916, allocations: 139.9 kB / 1.321 GB, free: 4.75 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.2926, allocations: 0.5574 MB / 1.321 GB, free: 4.148 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.2929, allocations: 118.7 kB / 1.321 GB, free: 4.023 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2931, allocations: 44.84 kB / 1.321 GB, free: 3.977 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2931, allocations: 0 / 1.321 GB, free: 3.977 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2931, allocations: 34.56 kB / 1.322 GB, free: 3.934 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.2931, allocations: 0 / 1.322 GB, free: 3.934 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10): time 0.0004887/0.2936, allocations: 169.9 kB / 1.322 GB, free: 3.762 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.2937, allocations: 140.4 kB / 1.322 GB, free: 3.594 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.2939, allocations: 215 kB / 1.322 GB, free: 3.371 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2939, allocations: 37.64 kB / 1.322 GB, free: 3.328 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2941, allocations: 144.3 kB / 1.322 GB, free: 3.184 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.2941, allocations: 31.77 kB / 1.322 GB, free: 3.152 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.2942, allocations: 45.66 kB / 1.322 GB, free: 3.102 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001423/0.2943, allocations: 330.8 kB / 1.323 GB, free: 2.77 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2944, allocations: 55.98 kB / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2946, allocations: 80.27 kB / 1.323 GB, free: 2.621 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2948, allocations: 89.62 kB / 1.323 GB, free: 2.527 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2948, allocations: 4 kB / 1.323 GB, free: 2.523 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003281/0.2952, allocations: 153.5 kB / 1.323 GB, free: 2.367 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2952, allocations: 6.344 kB / 1.323 GB, free: 2.363 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2952, allocations: 0 / 1.323 GB, free: 2.363 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2952, allocations: 4 kB / 1.323 GB, free: 2.359 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2953, allocations: 23.86 kB / 1.323 GB, free: 2.336 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2953, allocations: 0 / 1.323 GB, free: 2.336 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2955, allocations: 31.86 kB / 1.323 GB, free: 2.305 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2955, allocations: 8.031 kB / 1.323 GB, free: 2.297 MB / 1.014 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.0001334/0.2957, allocations: 129.8 kB / 1.323 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.2957, allocations: 19.91 kB / 1.323 GB, free: 2.141 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.2961, allocations: 147 kB / 1.323 GB, free: 1.992 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2961, allocations: 7.875 kB / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2961, allocations: 0 / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2961, allocations: 0 / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.2964, allocations: 244.6 kB / 1.324 GB, free: 1.703 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2964, allocations: 0 / 1.324 GB, free: 1.703 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2965, allocations: 19.92 kB / 1.324 GB, free: 1.684 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2965, allocations: 0 / 1.324 GB, free: 1.684 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2965, allocations: 4 kB / 1.324 GB, free: 1.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2965, allocations: 7.938 kB / 1.324 GB, free: 1.672 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2965, allocations: 0 / 1.324 GB, free: 1.672 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.2969, allocations: 235.4 kB / 1.324 GB, free: 1.426 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.2969, allocations: 15.84 kB / 1.324 GB, free: 1.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2969, allocations: 8 kB / 1.324 GB, free: 1.402 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2971, allocations: 23.91 kB / 1.324 GB, free: 1.379 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.2972, allocations: 23.95 kB / 1.324 GB, free: 1.355 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2972, allocations: 4 kB / 1.324 GB, free: 1.352 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001384/0.2973, allocations: 156.4 kB / 1.324 GB, free: 1.199 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2973, allocations: 0 / 1.324 GB, free: 1.199 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002827/0.2976, allocations: 43.89 kB / 1.324 GB, free: 1.156 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: 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.0001394/0.2978, allocations: 103.8 kB / 1.324 GB, free: 1.043 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003269/0.2981, allocations: 111.3 kB / 1.324 GB, free: 0.9375 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2981, allocations: 0 / 1.324 GB, free: 0.9375 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2982, allocations: 55.91 kB / 1.324 GB, free: 0.8828 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2986, allocations: 28 kB / 1.324 GB, free: 0.8555 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.2992, allocations: 331.2 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.2995, allocations: 0.7319 MB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 9.122e-05/0.2996, allocations: 25.39 kB / 1.325 GB, free: 15.72 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.2997, allocations: 19.44 kB / 1.325 GB, free: 15.71 MB / 1.029 GB
Notification: Performance of SimCode: time 3.31e-07/0.2997, allocations: 4 kB / 1.325 GB, free: 15.7 MB / 1.029 GB
Notification: Performance of Templates: time 0.005649/0.3053, allocations: 2.232 MB / 1.328 GB, free: 13.52 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.609130627475679]