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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008653/0.0008652, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00598/0.00598, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 443.3 MB / 0.7175 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 12.44 kB / 0.8796 GB, free: 41.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 155.2 MB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002596/0.2755, allocations: 1.735 MB / 1.033 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2767, allocations: 0.5492 MB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2769, allocations: 4 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.277, allocations: 11.86 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.2771, allocations: 31.72 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2774, allocations: 71.94 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.2777, allocations: 212 kB / 1.034 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2779, allocations: 105.2 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.2781, allocations: 59.66 kB / 1.034 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2783, allocations: 79.48 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.2783, allocations: 4 kB / 1.034 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.2784, allocations: 19.98 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.2785, allocations: 23.86 kB / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.2786, allocations: 109.2 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2789, allocations: 247.3 kB / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2789, allocations: 8 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2789, allocations: 0 / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2789, allocations: 0 / 1.034 GB, free: 0.9531 MB / 0.7794 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.0007666/0.2797, allocations: 498.7 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2797, allocations: 8.031 kB / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.2798, allocations: 24.66 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.2801, allocations: 260.7 kB / 1.035 GB, free: 92 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2802, allocations: 8.375 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2802, allocations: 20.38 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.2807, allocations: 229.2 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2807, allocations: 3.984 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2808, allocations: 11.94 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2808, allocations: 4 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.2811, allocations: 155.9 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2822, allocations: 0.5934 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.2826, allocations: 126.7 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2827, allocations: 56.83 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2828, allocations: 4 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2828, allocations: 38.56 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.2828, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004927/0.2833, allocations: 181.6 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.2834, allocations: 140.5 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.2836, allocations: 215 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.2837, allocations: 33.7 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2838, allocations: 140.2 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.2838, allocations: 39.53 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.2839, allocations: 21.7 kB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.284, allocations: 330.8 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2842, allocations: 51.97 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2843, allocations: 92.2 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.2846, allocations: 101.1 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2846, allocations: 0 / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003341/0.2849, allocations: 161.4 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.285, allocations: 4 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.285, allocations: 4.031 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.285, allocations: 4 kB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2851, allocations: 19.92 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2851, allocations: 4 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2853, allocations: 39.81 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2853, allocations: 11.94 kB / 1.038 GB, free: 13.1 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.0001291/0.2854, allocations: 135.9 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.2855, allocations: 15.81 kB / 1.038 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.2858, allocations: 158.9 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2858, allocations: 7.938 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2859, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2859, allocations: 4 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.2861, allocations: 269.5 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2862, allocations: 0 / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.2863, allocations: 19.98 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2863, allocations: 0 / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2863, allocations: 3.984 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2863, allocations: 3.938 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2863, allocations: 0 / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2866, allocations: 239.3 kB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2867, allocations: 92.91 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2867, allocations: 7.938 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2869, allocations: 31.97 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.287, allocations: 31.94 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.287, allocations: 0 / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2872, allocations: 160.3 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2872, allocations: 0 / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002801/0.2875, allocations: 39.84 kB / 1.039 GB, free: 11.81 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.0001795/0.2876, allocations: 111.2 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.288, allocations: 111.9 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.288, allocations: 0 / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2881, allocations: 72.09 kB / 1.039 GB, free: 11.51 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.2885, allocations: 16 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.2891, allocations: 397.7 kB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.2894, allocations: 0.7285 MB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.915e-05/0.2895, allocations: 25.41 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.2896, allocations: 19.44 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.2896, allocations: 0 / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of Templates: time 0.005156/0.2948, allocations: 1.885 MB / 1.042 GB, free: 8.445 MB / 0.795 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