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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001806/0.001807, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.44 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 157.4 MB / 1.052 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003678/0.2914, allocations: 2.092 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2925, allocations: 0.557 MB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2926, allocations: 4 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2928, allocations: 19.78 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2929, allocations: 23.8 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2932, allocations: 71.94 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.2935, allocations: 224 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2937, allocations: 111.6 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.2939, allocations: 95.58 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.294, allocations: 103.5 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.2941, allocations: 24 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.2942, allocations: 31.98 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.2942, allocations: 51.84 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.2943, allocations: 107.4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2946, allocations: 275.4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2946, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2946, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2946, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 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.0007468/0.2954, allocations: 0.5142 MB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2954, allocations: 8.625 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2955, allocations: 28.66 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2958, allocations: 244.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.2958, allocations: 24.3 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.2959, allocations: 16.38 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.2963, allocations: 232.8 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2963, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.2964, allocations: 8 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2964, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.2967, allocations: 139.9 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.2976, allocations: 0.6013 MB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.298, allocations: 118.7 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2981, allocations: 56.83 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.2981, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2982, allocations: 38.56 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.021e-06/0.2982, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.00045/0.2986, allocations: 169.6 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.2987, allocations: 132.5 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.2989, allocations: 220.3 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2989, allocations: 37.64 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.299, allocations: 140.2 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.2991, allocations: 35.53 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.2992, allocations: 37.7 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.2993, allocations: 326.8 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2994, allocations: 43.97 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2995, allocations: 88.27 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.2998, allocations: 88.81 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2998, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003064/0.3001, allocations: 157.4 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3001, allocations: 9.594 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3001, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3001, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3003, allocations: 28.23 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3003, allocations: 0 / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3004, allocations: 27.88 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3005, allocations: 4 kB / 1.059 GB, free: 1.117 MB / 0.8106 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.0001159/0.3006, allocations: 141.8 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3006, allocations: 19.81 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.301, allocations: 146.9 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.301, allocations: 3.938 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.301, allocations: 0 / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.301, allocations: 0 / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.3013, allocations: 269.4 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3013, allocations: 0 / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3014, allocations: 23.92 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3014, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3014, allocations: 11.92 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3014, allocations: 3.938 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3014, allocations: 0 / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.3017, allocations: 227.2 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3018, allocations: 92.92 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.3018, allocations: 8 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.302, allocations: 27.91 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.3021, allocations: 19.97 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3021, allocations: 8 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3022, allocations: 151.3 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3022, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.3025, allocations: 39.84 kB / 1.061 GB, free: 15.85 MB / 0.8262 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.0001452/0.3027, allocations: 111.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.303, allocations: 124 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.303, allocations: 0 / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3032, allocations: 51.92 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3035, allocations: 23.97 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.3041, allocations: 393.1 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3044, allocations: 0.7319 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.75e-05/0.3045, allocations: 21.45 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.3046, allocations: 15.44 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3046, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.005013/0.3096, allocations: 2 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) 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) Reference file matches