Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001617/0.001617, allocations: 110 kB / 18.94 MB, free: 2.789 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.001793/0.001793, allocations: 194.2 kB / 22.23 MB, free: 5.234 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 496 MB / 0.7835 GB, free: 33.69 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-maint.12.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.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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003469/0.003469, allocations: 71.58 kB / 1.138 GB, free: 33.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.411, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004079/0.4151, allocations: 2.068 MB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001228/0.4163, allocations: 0.5844 MB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.4164, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.4165, allocations: 19.73 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.4166, allocations: 51.53 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.417, allocations: 79.86 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002868/0.4173, allocations: 224.1 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.4175, allocations: 87.98 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4177, allocations: 91.64 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.4178, allocations: 107.5 kB / 1.311 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.4179, allocations: 27.94 kB / 1.311 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.418, allocations: 32 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.418, allocations: 59.81 kB / 1.311 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4182, allocations: 99.47 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.4186, allocations: 278.8 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4186, allocations: 4 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.4186, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.322e-06/0.4186, allocations: 0 / 1.311 GB, free: 14 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.0009119/0.4195, allocations: 445.2 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4195, allocations: 12.92 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.4196, allocations: 32.75 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.42, allocations: 195.5 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.4201, allocations: 16.38 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.4201, allocations: 20.31 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.4206, allocations: 225.1 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4206, allocations: 4 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4206, allocations: 4 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4206, allocations: 4 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.4209, allocations: 139.9 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.422, allocations: 0.5613 MB / 1.313 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.4224, allocations: 110.8 kB / 1.313 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.4225, allocations: 48.97 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.4225, allocations: 0 / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.4226, allocations: 42.5 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.4226, allocations: 4 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10): time 0.0005216/0.4231, allocations: 165.8 kB / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.4232, allocations: 136.5 kB / 1.313 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4235, allocations: 214.9 kB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4235, allocations: 29.7 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4237, allocations: 148.3 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4237, allocations: 31.73 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.4238, allocations: 45.7 kB / 1.314 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001705/0.4239, allocations: 326.8 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4241, allocations: 47.97 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4242, allocations: 84.27 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.4245, allocations: 97.25 kB / 1.314 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4245, allocations: 0 / 1.314 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003252/0.4248, allocations: 153.5 kB / 1.314 GB, free: 10.48 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4248, allocations: 8 kB / 1.314 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4248, allocations: 3.984 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4248, allocations: 8.062 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.425, allocations: 23.92 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.425, allocations: 4 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.4251, allocations: 27.88 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4251, allocations: 4 kB / 1.314 GB, free: 10.4 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.0001551/0.4253, allocations: 143.4 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.4253, allocations: 19.91 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.4257, allocations: 143 kB / 1.315 GB, free: 10.08 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.4257, allocations: 7.938 kB / 1.315 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4257, allocations: 0 / 1.315 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4257, allocations: 3.984 kB / 1.315 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.4261, allocations: 244.5 kB / 1.315 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4261, allocations: 0 / 1.315 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.4262, allocations: 16 kB / 1.315 GB, free: 9.773 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4262, allocations: 3.984 kB / 1.315 GB, free: 9.77 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4262, allocations: 4 kB / 1.315 GB, free: 9.766 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4262, allocations: 3.938 kB / 1.315 GB, free: 9.762 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4262, allocations: 0 / 1.315 GB, free: 9.762 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.4265, allocations: 239.3 kB / 1.315 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.4266, allocations: 15.84 kB / 1.315 GB, free: 9.496 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.4266, allocations: 8 kB / 1.315 GB, free: 9.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4268, allocations: 27.91 kB / 1.315 GB, free: 9.461 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.4269, allocations: 23.95 kB / 1.315 GB, free: 9.438 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4269, allocations: 0 / 1.315 GB, free: 9.438 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001471/0.427, allocations: 156.4 kB / 1.315 GB, free: 9.285 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.427, allocations: 0 / 1.315 GB, free: 9.285 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002938/0.4273, allocations: 39.89 kB / 1.315 GB, free: 9.246 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.0002145/0.4275, allocations: 112 kB / 1.315 GB, free: 9.125 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003762/0.4279, allocations: 103.9 kB / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4279, allocations: 0 / 1.316 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4281, allocations: 55.97 kB / 1.316 GB, free: 8.969 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4285, allocations: 18.62 kB / 1.316 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.4295, allocations: 341 kB / 1.316 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.43, allocations: 0.7241 MB / 1.317 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000108/0.4301, allocations: 21.42 kB / 1.317 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.4302, allocations: 23.42 kB / 1.317 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of SimCode: time 4.71e-07/0.4302, allocations: 0 / 1.317 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of Templates: time 0.006927/0.4371, allocations: 2.236 MB / 1.319 GB, free: 5.582 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.517324967309833]