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.001384/0.001384, allocations: 110.2 kB / 19.7 MB, free: 2.262 MB / 14.72 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.001701/0.001701, allocations: 222.7 kB / 23.01 MB, free: 4.609 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 64.02 kB / 1.119 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 169.9 MB / 1.285 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.0036/0.3841, allocations: 2.092 MB / 1.287 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3854, allocations: 0.6661 MB / 1.287 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3855, allocations: 3.938 kB / 1.287 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3856, allocations: 19.73 kB / 1.287 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.3857, allocations: 43.59 kB / 1.287 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.386, allocations: 99.83 kB / 1.287 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3863, allocations: 228 kB / 1.288 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3865, allocations: 91.97 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.3868, allocations: 99.62 kB / 1.288 GB, free: 40 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3869, allocations: 99.62 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.387, allocations: 24 kB / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.3871, allocations: 35.98 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.3871, allocations: 63.62 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3873, allocations: 103.5 kB / 1.288 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.3876, allocations: 294.7 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3876, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3876, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3876, allocations: 3.984 kB / 1.288 GB, free: 15.43 MB / 0.9981 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.0008199/0.3885, allocations: 457.2 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3885, allocations: 8.031 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.3888, allocations: 52.77 kB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3892, allocations: 202 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3893, allocations: 20.31 kB / 1.289 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3893, allocations: 16.38 kB / 1.289 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.3897, allocations: 229 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3897, allocations: 4 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.3898, allocations: 4 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3898, allocations: 4 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3901, allocations: 139.9 kB / 1.29 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3911, allocations: 0.5613 MB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.3915, allocations: 110.7 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3916, allocations: 48.89 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3916, allocations: 8.125 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3916, allocations: 30.56 kB / 1.29 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3916, allocations: 4 kB / 1.29 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004661/0.3921, allocations: 165.4 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.3922, allocations: 136.5 kB / 1.291 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3924, allocations: 220.2 kB / 1.291 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3925, allocations: 33.7 kB / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3926, allocations: 152.3 kB / 1.291 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.3926, allocations: 35.72 kB / 1.291 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.3927, allocations: 33.7 kB / 1.291 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3929, allocations: 326.8 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.393, allocations: 47.97 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3931, allocations: 88.27 kB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3933, allocations: 92.75 kB / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3933, allocations: 0 / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003087/0.3936, allocations: 149.5 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3937, allocations: 5.875 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3937, allocations: 8.016 kB / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3937, allocations: 0 / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3938, allocations: 23.92 kB / 1.292 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3938, allocations: 4 kB / 1.292 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3939, allocations: 27.86 kB / 1.292 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.394, allocations: 8 kB / 1.292 GB, free: 11.8 MB / 0.9981 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.0001343/0.3941, allocations: 133.8 kB / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3941, allocations: 19.91 kB / 1.292 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.3942, allocations: 29.39 kB / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3942, allocations: 7.875 kB / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3942, allocations: 0 / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3942, allocations: 0 / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.3945, allocations: 240.6 kB / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3945, allocations: 0 / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.3946, allocations: 15.98 kB / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3946, allocations: 0 / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3946, allocations: 0 / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.3946, allocations: 15.92 kB / 1.292 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3946, allocations: 0 / 1.292 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3949, allocations: 227.7 kB / 1.292 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.395, allocations: 19.84 kB / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.395, allocations: 8 kB / 1.292 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3951, allocations: 23.92 kB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3952, allocations: 27.95 kB / 1.293 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3952, allocations: 3.984 kB / 1.293 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001388/0.3954, allocations: 151.5 kB / 1.293 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3954, allocations: 0 / 1.293 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002586/0.3956, allocations: 39.89 kB / 1.293 GB, free: 10.79 MB / 0.9981 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.0001401/0.3958, allocations: 107.2 kB / 1.293 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.3961, allocations: 111.9 kB / 1.293 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3961, allocations: 0 / 1.293 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3962, allocations: 43.98 kB / 1.293 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3965, allocations: 22.72 kB / 1.293 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.3972, allocations: 378.5 kB / 1.293 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3975, allocations: 0.736 MB / 1.294 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.3976, allocations: 27.42 kB / 1.294 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3976, allocations: 0 / 1.294 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of Templates: time 0.004375/0.402, allocations: 2.353 MB / 1.296 GB, free: 6.961 MB / 0.9981 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/jenkins1/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: 11.267119995987741]