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.001879/0.001879, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.0024/0.0024, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.785 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.897/2.897, allocations: 476 MB / 0.7699 GB, free: 4.75 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [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.002078/0.002078, allocations: 67.41 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003323/0.3028, allocations: 2.007 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.304, allocations: 0.6272 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3041, allocations: 4 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3042, allocations: 23.67 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.3043, allocations: 31.66 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.3046, allocations: 103.8 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.3049, allocations: 228 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3051, allocations: 80.03 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3052, allocations: 91.66 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3054, allocations: 107.4 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.3054, allocations: 27.94 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.3055, allocations: 32 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.3056, allocations: 55.84 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.3056, allocations: 87.52 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.306, allocations: 286.4 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.306, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.306, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.306, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 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.0007916/0.3068, allocations: 467 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3068, allocations: 12.03 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.3069, allocations: 46.73 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.3072, allocations: 48.7 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.3076, allocations: 206 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.3076, allocations: 16.38 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3076, allocations: 20.38 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3081, allocations: 306 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3081, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3081, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.3081, allocations: 8 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.3084, allocations: 139.9 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.3093, allocations: 0.5107 MB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.3097, allocations: 114.7 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.3098, allocations: 40.84 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3098, allocations: 8 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3099, allocations: 30.56 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3099, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004492/0.3103, allocations: 173.6 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.3104, allocations: 132.5 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3106, allocations: 216.2 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3107, allocations: 34.08 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3108, allocations: 152.3 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3108, allocations: 31.73 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.3109, allocations: 37.7 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.311, allocations: 334.8 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3111, allocations: 43.98 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3113, allocations: 169.3 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3115, allocations: 88.56 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3115, allocations: 0 / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000302/0.3118, allocations: 149.5 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3118, allocations: 7.938 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3118, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3119, allocations: 11.97 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.312, allocations: 15.98 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.312, allocations: 0 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3121, allocations: 31.92 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3121, allocations: 7.969 kB / 1.29 GB, free: 4.883 MB / 0.9825 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.000131/0.3123, allocations: 139.8 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.3123, allocations: 19.91 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.3124, allocations: 25.39 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3124, allocations: 3.938 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3124, allocations: 4 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3124, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3126, allocations: 224.6 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3126, allocations: 0 / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.3127, allocations: 11.98 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3127, allocations: 4 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3127, allocations: 0 / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3128, allocations: 3.938 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3128, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3131, allocations: 235.3 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.3131, allocations: 19.86 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3131, allocations: 4 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3133, allocations: 23.91 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.3134, allocations: 31.89 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3134, allocations: 0 / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001476/0.3135, allocations: 159.5 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3135, allocations: 0 / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002676/0.3138, allocations: 43.98 kB / 1.291 GB, free: 3.883 MB / 0.9825 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.0006657/0.3145, allocations: 0.763 MB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.3148, allocations: 103.9 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3148, allocations: 0 / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3149, allocations: 51.92 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3152, allocations: 32.64 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3177, allocations: 1.999 MB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3178, allocations: 125.2 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.527e-05/0.3179, allocations: 21.34 kB / 1.294 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.318, allocations: 71.41 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.318, allocations: 0 / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.3497, allocations: 4.67 MB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 6.234 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] 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: 17.850684967823327]