Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001534/0.001534, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001772/0.001772, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 67.89 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003254/0.3029, allocations: 2.007 MB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.304, allocations: 0.6195 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.3041, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3042, allocations: 27.67 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.3043, allocations: 39.59 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3046, allocations: 95.83 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3049, allocations: 232 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3051, allocations: 84.25 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.3052, allocations: 95.64 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3054, allocations: 99.47 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.3054, allocations: 24 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.3055, allocations: 28 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.3056, allocations: 55.84 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.3056, allocations: 91.45 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.306, allocations: 286.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.306, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.306, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.306, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 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.0007408/0.3067, allocations: 470.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3068, allocations: 12.03 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.3068, allocations: 50.73 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.3071, allocations: 52.72 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3075, allocations: 198.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3075, allocations: 12.38 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.3075, allocations: 24.38 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.308, allocations: 309.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.308, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.308, allocations: 11.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.308, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.3083, allocations: 139.9 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.3092, allocations: 0.5107 MB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3096, allocations: 110.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3097, allocations: 44.84 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3097, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3097, allocations: 34.56 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.3097, allocations: 192 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004378/0.3101, allocations: 173.4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.3102, allocations: 136.5 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3104, allocations: 215.8 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3105, allocations: 37.69 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3106, allocations: 152.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3106, allocations: 27.75 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.3107, allocations: 38.08 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3108, allocations: 330.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.311, allocations: 39.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3112, allocations: 169.4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3114, allocations: 92.69 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3114, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.3117, allocations: 149.6 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3117, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3117, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3117, allocations: 7.969 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3118, allocations: 23.86 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3118, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3119, allocations: 35.86 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.312, allocations: 4 kB / 1.332 GB, free: 10.76 MB / 1.029 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.000129/0.3121, allocations: 129.8 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.3121, allocations: 19.86 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.3122, allocations: 29.39 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3122, allocations: 7.938 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3122, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3122, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3125, allocations: 216.7 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3125, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.3126, allocations: 19.92 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3126, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3126, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3126, allocations: 7.938 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3126, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3129, allocations: 231.3 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3129, allocations: 19.86 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.313, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3131, allocations: 27.91 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.3132, allocations: 23.95 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3132, allocations: 0 / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3134, allocations: 160.6 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3134, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002564/0.3136, allocations: 43.89 kB / 1.333 GB, free: 9.77 MB / 1.029 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.0006484/0.3143, allocations: 0.767 MB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.3145, allocations: 103.9 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3145, allocations: 0 / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3147, allocations: 51.91 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.315, allocations: 27.2 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3174, allocations: 2.01 MB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3175, allocations: 129.2 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.048e-05/0.3176, allocations: 13.42 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3177, allocations: 71.41 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3177, allocations: 0 / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3506, allocations: 4.678 MB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.81, allocations: 11.38 kB / 1.341 GB, free: 1.961 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.85990690998733]