Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_11_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_11_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.001578/0.001578, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001502/0.001502, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.659/2.659, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.86 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003779/0.3273, allocations: 2.092 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3284, allocations: 0.5573 MB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.3285, allocations: 4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3287, allocations: 19.78 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3288, allocations: 19.8 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3291, allocations: 67.94 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3293, allocations: 231.9 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.3296, allocations: 117.4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3298, allocations: 91.58 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3299, allocations: 99.53 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.33, allocations: 28 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.33, allocations: 31.98 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.3301, allocations: 47.84 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3303, allocations: 107.4 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3305, allocations: 211.8 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3306, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3306, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3306, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 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.0008524/0.3314, allocations: 0.5064 MB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3315, allocations: 12.03 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.3316, allocations: 28.66 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3319, allocations: 260.5 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.332, allocations: 16.38 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.332, allocations: 16.38 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.3324, allocations: 221.1 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3325, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.3325, allocations: 12 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3325, allocations: 7.938 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3328, allocations: 135.9 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3338, allocations: 0.5972 MB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.3342, allocations: 122.7 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3344, allocations: 48.84 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.3344, allocations: 4 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3344, allocations: 30.56 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.3345, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004748/0.3349, allocations: 177.8 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.335, allocations: 136.5 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3353, allocations: 214.9 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3353, allocations: 29.8 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3354, allocations: 152 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3355, allocations: 27.64 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.3355, allocations: 37.7 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3357, allocations: 330.8 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3358, allocations: 47.97 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.336, allocations: 84.2 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3362, allocations: 95.44 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3362, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003109/0.3365, allocations: 157.4 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3365, allocations: 7.984 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3366, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3366, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3367, allocations: 19.92 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3367, allocations: 3.938 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3368, allocations: 31.92 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3369, allocations: 4 kB / 1.071 GB, free: 7.555 MB / 0.8419 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.000152/0.337, allocations: 133.8 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3371, allocations: 15.81 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3374, allocations: 146.9 kB / 1.071 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3375, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3375, allocations: 3.984 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3375, allocations: 4 kB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.3378, allocations: 269.4 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3378, allocations: 0 / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.3379, allocations: 15.98 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3379, allocations: 0 / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3379, allocations: 8 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.338, allocations: 3.938 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.338, allocations: 0 / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.3383, allocations: 231.3 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.3384, allocations: 92.92 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3384, allocations: 11.94 kB / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3386, allocations: 23.91 kB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.3387, allocations: 23.91 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3387, allocations: 7.984 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3388, allocations: 160.4 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3389, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002678/0.3391, allocations: 35.84 kB / 1.072 GB, free: 6.281 MB / 0.8419 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.0001827/0.3393, allocations: 107.2 kB / 1.072 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3397, allocations: 123.4 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3397, allocations: 4.062 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3398, allocations: 47.92 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3402, allocations: 22.66 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.3409, allocations: 412.5 kB / 1.073 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3412, allocations: 0.7319 MB / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.3413, allocations: 27.42 kB / 1.074 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of SimCode: time 1.824e-06/0.3413, allocations: 0 / 1.074 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.004793/0.3461, allocations: 2.382 MB / 1.076 GB, free: 2.379 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches