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.001365/0.001365, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001617/0.001617, allocations: 218.8 kB / 22.25 MB, free: 5.121 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.984 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.784/2.784, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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.002083/0.002083, allocations: 65.91 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3167, allocations: 169.9 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004026/0.3208, allocations: 2.093 MB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3221, allocations: 0.6622 MB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3223, allocations: 4 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.3224, allocations: 23.67 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.3225, allocations: 39.59 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3229, allocations: 99.83 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3232, allocations: 228.1 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.3234, allocations: 95.48 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3236, allocations: 99.62 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3238, allocations: 103.4 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.3238, allocations: 24 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.3239, allocations: 39.98 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.324, allocations: 59.83 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3241, allocations: 107.4 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.3245, allocations: 278.9 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3245, allocations: 3.938 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3245, allocations: 3.938 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3245, allocations: 4 kB / 1.287 GB, free: 7.621 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.0008242/0.3253, allocations: 463 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3254, allocations: 12.03 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.3254, allocations: 50.73 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.3257, allocations: 52.72 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.3261, allocations: 198.1 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3262, allocations: 16.38 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.3262, allocations: 16.38 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.3266, allocations: 228.8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3266, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3267, allocations: 8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3267, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.327, allocations: 139.9 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009861/0.328, allocations: 0.5574 MB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.3283, allocations: 118.7 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3284, allocations: 44.83 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3285, allocations: 0 / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3285, allocations: 42.56 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3285, allocations: 0 / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.3289, allocations: 165.9 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.329, allocations: 132.5 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3293, allocations: 220.2 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3293, allocations: 33.8 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3294, allocations: 156.2 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3295, allocations: 35.73 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.3295, allocations: 37.64 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3297, allocations: 326.8 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3298, allocations: 47.97 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3299, allocations: 88.2 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3302, allocations: 90.69 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3302, allocations: 0 / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003106/0.3305, allocations: 153 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3305, allocations: 4 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3305, allocations: 0 / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3305, allocations: 7.938 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3306, allocations: 23.95 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3306, allocations: 0 / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3308, allocations: 27.86 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3308, allocations: 8 kB / 1.291 GB, free: 3.934 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.0001335/0.3309, allocations: 131.9 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.331, allocations: 19.91 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.331, allocations: 29.39 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.331, allocations: 3.938 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.331, allocations: 0 / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.331, allocations: 0 / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3313, allocations: 240.6 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3313, allocations: 0 / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3314, allocations: 19.92 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3314, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3314, allocations: 4 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3314, allocations: 7.922 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3314, allocations: 0 / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3318, allocations: 227.4 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.3318, allocations: 23.78 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3318, allocations: 8 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.332, allocations: 19.92 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.3321, allocations: 27.95 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3321, allocations: 8.078 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001396/0.3322, allocations: 155.5 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3322, allocations: 0 / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002754/0.3325, allocations: 35.95 kB / 1.292 GB, free: 2.926 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.0006515/0.3332, allocations: 0.7631 MB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3335, allocations: 107.9 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3335, allocations: 0 / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3336, allocations: 55.84 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3339, allocations: 24.61 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3364, allocations: 2.017 MB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3368, allocations: 0.732 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.3369, allocations: 21.73 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.337, allocations: 63.41 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.337, allocations: 7.938 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3711, allocations: 4.122 MB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 3.906 kB / 1.299 GB, free: 11.03 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: 18.070800001965836]