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.001438/0.001438, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001651/0.001651, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.27 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2847, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003459/0.2883, allocations: 2.1 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2894, allocations: 0.5648 MB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2895, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2897, allocations: 15.86 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.2897, allocations: 31.72 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.29, allocations: 67.95 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.2902, allocations: 212 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2904, allocations: 103.6 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2906, allocations: 83.56 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2907, allocations: 91.53 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2907, allocations: 12 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.2908, allocations: 16 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.2909, allocations: 43.83 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.291, allocations: 95.45 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.2913, allocations: 263.3 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2913, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2913, allocations: 4 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2913, allocations: 0 / 1.056 GB, free: 5.125 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.000807/0.2921, allocations: 0.5025 MB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2922, allocations: 16.02 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.2922, allocations: 28.66 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.2926, allocations: 252.7 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.2926, allocations: 16.38 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.2927, allocations: 20.38 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.2931, allocations: 228.9 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2931, allocations: 3.938 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.2931, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2932, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.2935, allocations: 143.9 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.2945, allocations: 0.5896 MB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.2949, allocations: 122.7 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.295, allocations: 48.78 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.295, allocations: 8 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2951, allocations: 34.5 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004798/0.2956, allocations: 169.6 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.2957, allocations: 140.5 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.2959, allocations: 212.3 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.2959, allocations: 29.7 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.296, allocations: 148.2 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.2961, allocations: 31.55 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.2962, allocations: 33.7 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2963, allocations: 330.8 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2964, allocations: 51.92 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2966, allocations: 84.27 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2968, allocations: 96.81 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2968, allocations: 0 / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003362/0.2972, allocations: 157.4 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2972, allocations: 4 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2972, allocations: 4 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2972, allocations: 0 / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2973, allocations: 23.86 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2974, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2975, allocations: 23.89 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.2975, allocations: 12.02 kB / 1.059 GB, free: 1.328 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.0001373/0.2977, allocations: 137.9 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.2977, allocations: 15.81 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.2981, allocations: 150.9 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2981, allocations: 3.938 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2981, allocations: 0 / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2981, allocations: 4.469 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2984, allocations: 273.4 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2984, allocations: 0 / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.2985, allocations: 15.98 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2985, allocations: 4 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2986, allocations: 7.938 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2986, allocations: 7.875 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2986, allocations: 3.938 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.2989, allocations: 227.3 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.299, allocations: 88.92 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.299, allocations: 8 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2992, allocations: 27.91 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.2993, allocations: 23.89 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2993, allocations: 4 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001167/0.2994, allocations: 155.4 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2994, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002732/0.2997, allocations: 43.84 kB / 1.06 GB, free: 52 kB / 0.8106 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.0002146/0.2999, allocations: 107.3 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3002, allocations: 107.8 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3002, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3004, allocations: 55.91 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3007, allocations: 20.06 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.3014, allocations: 387.4 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3017, allocations: 0.7322 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.3018, allocations: 25.3 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.3019, allocations: 19.42 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3019, allocations: 4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.004771/0.3066, allocations: 1.897 MB / 1.064 GB, free: 12.69 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