Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002716/0.002716, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.838/2.838, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.666e-05, allocations: 3.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004002/0.004039, allocations: 2.023 MB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005478, allocations: 0.6225 MB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.005585, allocations: 4 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.00574, allocations: 23.67 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.005851, allocations: 41 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.006252, allocations: 100.5 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.006564, allocations: 236 kB / 0.7894 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.006794, allocations: 77.59 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.007079, allocations: 135.7 kB / 0.7896 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.007226, allocations: 80.41 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.007273, allocations: 29.66 kB / 0.7897 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.007366, allocations: 31.94 kB / 0.7897 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.007449, allocations: 51.83 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.007546, allocations: 67.83 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.008002, allocations: 298.9 kB / 0.7901 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.008005, allocations: 1.344 kB / 0.7901 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008007, allocations: 0 / 0.7901 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.008013, allocations: 0 / 0.7901 GB, free: 9.008 MB / 0.7448 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.0009537/0.008967, allocations: 466.7 kB / 0.7905 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.009006, allocations: 8.562 kB / 0.7906 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.009378, allocations: 64.22 kB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.009809, allocations: 205.3 kB / 0.7908 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.009835, allocations: 16.38 kB / 0.7908 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.009871, allocations: 16.38 kB / 0.7908 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.01041, allocations: 302.2 kB / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01042, allocations: 192 / 0.7911 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.01044, allocations: 8.375 kB / 0.7911 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01045, allocations: 8.656 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.0108, allocations: 140.5 kB / 0.7913 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01189, allocations: 485.8 kB / 0.7917 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.01229, allocations: 112.1 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01243, allocations: 52.78 kB / 0.7919 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.01246, allocations: 1.25 kB / 0.7919 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.01251, allocations: 38.69 kB / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.01251, allocations: 0 / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005684/0.01308, allocations: 170.8 kB / 0.7921 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.0132, allocations: 128.5 kB / 0.7922 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.01346, allocations: 205.5 kB / 0.7924 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.01367, allocations: 29.7 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.01384, allocations: 144.4 kB / 0.7926 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.01388, allocations: 36.5 kB / 0.7926 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.01396, allocations: 41.7 kB / 0.7927 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01416, allocations: 330 kB / 0.793 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01429, allocations: 47.97 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.01451, allocations: 157.4 kB / 0.7932 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.01473, allocations: 92.38 kB / 0.7933 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01473, allocations: 0 / 0.7933 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003532/0.01509, allocations: 150.7 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.0151, allocations: 8.469 kB / 0.7934 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01511, allocations: 4.531 kB / 0.7934 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01513, allocations: 0 / 0.7934 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01524, allocations: 20.55 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01524, allocations: 1.094 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.01539, allocations: 27.92 kB / 0.7935 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.0154, allocations: 0.8438 kB / 0.7935 GB, free: 5.328 MB / 0.7448 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.0001606/0.01556, allocations: 141.3 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.01561, allocations: 23.84 kB / 0.7936 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.01567, allocations: 22.83 kB / 0.7936 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01567, allocations: 4 kB / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01568, allocations: 0 / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01568, allocations: 0 / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.01595, allocations: 193.6 kB / 0.7938 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01595, allocations: 0 / 0.7938 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01606, allocations: 16.84 kB / 0.7938 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01606, allocations: 3.984 kB / 0.7938 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01607, allocations: 0.9375 kB / 0.7939 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01608, allocations: 4 kB / 0.7939 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01608, allocations: 9.156 kB / 0.7939 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.01645, allocations: 231.3 kB / 0.7941 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.01647, allocations: 12.88 kB / 0.7941 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.01651, allocations: 8 kB / 0.7941 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.01668, allocations: 22.19 kB / 0.7941 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.01677, allocations: 23.95 kB / 0.7941 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.01678, allocations: 4 kB / 0.7942 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001391/0.01692, allocations: 135.2 kB / 0.7943 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01692, allocations: 4 kB / 0.7943 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002768/0.0172, allocations: 39.39 kB / 0.7943 GB, free: 4.402 MB / 0.7448 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.0001598/0.01736, allocations: 107.2 kB / 0.7944 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.0177, allocations: 103.9 kB / 0.7945 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.0177, allocations: 0 / 0.7945 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.01784, allocations: 51.98 kB / 0.7946 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01815, allocations: 23.41 kB / 0.7946 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.01891, allocations: 337.9 kB / 0.7949 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.01908, allocations: 124.2 kB / 0.795 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.942e-05/0.01917, allocations: 15.95 kB / 0.7951 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.01924, allocations: 20.48 kB / 0.7951 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.01924, allocations: 0 / 0.7951 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.006338/0.02558, allocations: 2.136 MB / 0.7972 GB, free: 1.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.271522831986658]