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.008891/0.008891, allocations: 99.06 kB / 15.73 MB, free: 6.043 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.001962/0.001962, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003412/0.3184, allocations: 2.047 MB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3194, allocations: 0.5727 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.3195, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3196, allocations: 23.72 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.3197, allocations: 27.62 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3199, allocations: 87.89 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3202, allocations: 228 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3204, allocations: 91.58 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.3205, allocations: 99.58 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3206, allocations: 95.53 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.3207, allocations: 24 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.3207, allocations: 32 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.3208, allocations: 59.81 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.3209, allocations: 111.3 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3212, allocations: 270.8 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3212, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3212, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3212, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 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.0007829/0.322, allocations: 0.5179 MB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.322, allocations: 8.031 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.3221, allocations: 32.69 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3224, allocations: 264.6 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3225, allocations: 16.38 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.3225, allocations: 16.38 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.3229, allocations: 232.8 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3229, allocations: 0 / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.323, allocations: 12 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.323, allocations: 4 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.3233, allocations: 139.9 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.3241, allocations: 0.5896 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.3245, allocations: 114.7 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3246, allocations: 44.84 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.3246, allocations: 7.984 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3247, allocations: 34.56 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3247, allocations: 192 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004572/0.3251, allocations: 169.5 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3252, allocations: 136.4 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3254, allocations: 214.9 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.3255, allocations: 33.7 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3256, allocations: 144.3 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3256, allocations: 27.75 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3257, allocations: 37.7 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3258, allocations: 334.8 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3259, allocations: 43.98 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3261, allocations: 84.25 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3263, allocations: 97.25 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3263, allocations: 0 / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.3266, allocations: 157.5 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3266, allocations: 8 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3266, allocations: 384 / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3266, allocations: 0 / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3267, allocations: 23.86 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3268, allocations: 4 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.3269, allocations: 31.89 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3269, allocations: 4 kB / 1.228 GB, free: 6.188 MB / 0.9825 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.0001357/0.327, allocations: 134.4 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3271, allocations: 15.91 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3274, allocations: 154.9 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3274, allocations: 15.94 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3274, allocations: 0 / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3274, allocations: 0 / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3277, allocations: 273.5 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3277, allocations: 0 / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.3278, allocations: 19.92 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3278, allocations: 0 / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3279, allocations: 0 / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3279, allocations: 7.922 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3279, allocations: 0 / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3282, allocations: 235.3 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3282, allocations: 93 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3283, allocations: 4 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3284, allocations: 19.92 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.3285, allocations: 31.95 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3285, allocations: 4 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3286, allocations: 148.6 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3286, allocations: 0 / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002721/0.3289, allocations: 39.89 kB / 1.229 GB, free: 4.918 MB / 0.9825 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.0002048/0.3291, allocations: 113.3 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.3294, allocations: 107.8 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3294, allocations: 4.062 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3296, allocations: 51.91 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3299, allocations: 21.5 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.3305, allocations: 336.5 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3308, allocations: 0.7321 MB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.3309, allocations: 17.42 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.331, allocations: 19.42 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.331, allocations: 4 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.005262/0.3362, allocations: 2.183 MB / 1.232 GB, free: 1.305 MB / 0.9825 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=480 -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/jenkins/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