Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008819/0.008819, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001994/0.001994, allocations: 196.4 kB / 16.67 MB, free: 5.926 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 74.88 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2748, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003108/0.278, allocations: 2.019 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.2789, allocations: 0.5765 MB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.279, allocations: 8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2792, allocations: 19.73 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.2792, allocations: 35.59 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.2795, allocations: 83.91 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2798, allocations: 224 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.28, allocations: 123.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2801, allocations: 87.66 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2803, allocations: 103.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.2803, allocations: 24 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.2804, allocations: 32 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.2805, allocations: 51.83 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2806, allocations: 111.3 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.2809, allocations: 275 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2809, allocations: 4 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2809, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2809, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 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.0007654/0.2817, allocations: 0.5258 MB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2817, allocations: 8.031 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.2818, allocations: 24.66 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.2821, allocations: 252.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2821, allocations: 12.38 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2822, allocations: 16.38 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.2826, allocations: 232.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2826, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2826, allocations: 8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2826, allocations: 12 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2829, allocations: 135.9 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.2838, allocations: 0.5857 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.2842, allocations: 118.7 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2843, allocations: 48.84 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.2844, allocations: 7.969 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2844, allocations: 34.56 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.2844, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004586/0.2849, allocations: 173.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.2849, allocations: 136.4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2851, allocations: 216.4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2852, allocations: 33.7 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2853, allocations: 144.1 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2853, allocations: 23.66 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.2854, allocations: 45.69 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2855, allocations: 326.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2857, allocations: 47.97 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2858, allocations: 84.27 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.286, allocations: 91.25 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.286, allocations: 4 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003018/0.2863, allocations: 151.7 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2863, allocations: 4 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2864, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2864, allocations: 4 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2865, allocations: 27.83 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2865, allocations: 4 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2867, allocations: 31.81 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2867, allocations: 4 kB / 1.095 GB, free: 9.867 MB / 0.8575 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.000124/0.2868, allocations: 129.8 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.2869, allocations: 19.81 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.2872, allocations: 151 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2872, allocations: 3.938 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2872, allocations: 0 / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2872, allocations: 0 / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.2875, allocations: 273.4 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2875, allocations: 4 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2876, allocations: 23.92 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2876, allocations: 480 / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2877, allocations: 3.984 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2877, allocations: 7.938 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2877, allocations: 4 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.288, allocations: 227.2 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.288, allocations: 92.91 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2881, allocations: 8 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2882, allocations: 19.92 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.2883, allocations: 27.95 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2883, allocations: 4 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001351/0.2885, allocations: 151.4 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2885, allocations: 0 / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002754/0.2888, allocations: 43.84 kB / 1.096 GB, free: 8.602 MB / 0.8575 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.0001679/0.2889, allocations: 107.2 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2893, allocations: 111.9 kB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2893, allocations: 0 / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2894, allocations: 55.91 kB / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2898, allocations: 23.39 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.2904, allocations: 321.1 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2907, allocations: 0.7397 MB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.757e-05/0.2908, allocations: 21.45 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.2908, allocations: 23.7 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2909, allocations: 0 / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.005238/0.2961, allocations: 2.237 MB / 1.1 GB, free: 4.934 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches