Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001175/0.001175, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.00122/0.00122, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 68.23 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2825, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003464/0.286, allocations: 2.052 MB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2871, allocations: 0.5766 MB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2872, allocations: 4 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2873, allocations: 23.67 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.2875, allocations: 31.66 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2878, allocations: 87.84 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2881, allocations: 228 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2883, allocations: 107.6 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2884, allocations: 87.64 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2886, allocations: 107.5 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.2886, allocations: 28 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.2887, allocations: 31.98 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2888, allocations: 51.84 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.2889, allocations: 103.4 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.2892, allocations: 279 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2892, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2892, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2892, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 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.0007673/0.29, allocations: 0.5181 MB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2901, allocations: 8.922 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.2901, allocations: 24.66 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2905, allocations: 256.7 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2905, allocations: 20.31 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.2905, allocations: 16.38 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2909, allocations: 228.9 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2909, allocations: 3.984 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.291, allocations: 4 kB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.291, allocations: 4 kB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.2913, allocations: 143.9 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.2922, allocations: 0.5893 MB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.2925, allocations: 122.7 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2927, allocations: 56.83 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.2927, allocations: 7.922 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2927, allocations: 34.56 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2927, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004438/0.2932, allocations: 169.6 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.2933, allocations: 132.5 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2934, allocations: 216.2 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2935, allocations: 29.7 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.2936, allocations: 144.2 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.2936, allocations: 31.55 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.2937, allocations: 33.7 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2938, allocations: 326.8 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2939, allocations: 47.97 kB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.294, allocations: 86.64 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.2943, allocations: 93.62 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2943, allocations: 0 / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.2946, allocations: 159.9 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2946, allocations: 8 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2946, allocations: 0 / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2946, allocations: 0 / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2947, allocations: 19.92 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2947, allocations: 7.984 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2949, allocations: 19.89 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2949, allocations: 12 kB / 1.026 GB, free: 2.277 MB / 0.795 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.0001105/0.295, allocations: 141.8 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.2951, allocations: 15.81 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.2954, allocations: 150.8 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2954, allocations: 7.938 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2954, allocations: 480 / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2954, allocations: 0 / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2957, allocations: 273.4 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2957, allocations: 4 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2958, allocations: 15.98 kB / 1.026 GB, free: 1.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2958, allocations: 3.938 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2958, allocations: 3.984 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2959, allocations: 3.938 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2959, allocations: 0 / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.2962, allocations: 231.2 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.2963, allocations: 92.92 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2963, allocations: 4 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2965, allocations: 27.91 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.2966, allocations: 23.97 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2966, allocations: 4 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001762/0.2968, allocations: 151.3 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2968, allocations: 0 / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003073/0.2971, allocations: 39.84 kB / 1.027 GB, free: 1.012 MB / 0.795 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.0002665/0.2974, allocations: 119.2 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.2977, allocations: 107.9 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2978, allocations: 0 / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2979, allocations: 55.97 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.2983, allocations: 20.06 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008393/0.2992, allocations: 317.4 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2997, allocations: 0.736 MB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.2998, allocations: 17.42 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.2998, allocations: 23.44 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.2999, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.005596/0.3055, allocations: 2.166 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches