Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.42 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2953, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003488/0.2988, allocations: 2.05 MB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3, allocations: 0.5809 MB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3001, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3003, allocations: 27.67 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3004, allocations: 27.66 kB / 1.056 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.3008, allocations: 87.84 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.3011, allocations: 224 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.3013, allocations: 111.6 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3015, allocations: 95.56 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3016, allocations: 103.5 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.3017, allocations: 24 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.3018, allocations: 28 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3019, allocations: 55.83 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.302, allocations: 111.4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3023, allocations: 267.4 kB / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3023, allocations: 0 / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3023, allocations: 0 / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3023, allocations: 0 / 1.057 GB, free: 4.496 MB / 0.8106 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.0008188/0.3032, allocations: 0.5181 MB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3032, allocations: 12.62 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.3033, allocations: 50.73 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.3034, allocations: 32.64 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.3037, allocations: 248.6 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3037, allocations: 16.38 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.3038, allocations: 16.38 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.3042, allocations: 224.9 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3042, allocations: 0 / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3042, allocations: 11.98 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3043, allocations: 4 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.3046, allocations: 143.8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.3056, allocations: 0.5896 MB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.306, allocations: 122.7 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3061, allocations: 48.84 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3061, allocations: 0 / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3062, allocations: 34.56 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3062, allocations: 4 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004903/0.3067, allocations: 181.4 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.3068, allocations: 128.5 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.307, allocations: 219 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.307, allocations: 29.7 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3071, allocations: 152.1 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3072, allocations: 27.64 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.3073, allocations: 37.7 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3074, allocations: 330.8 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3075, allocations: 43.98 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3077, allocations: 84.27 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.3079, allocations: 93.62 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3079, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002981/0.3082, allocations: 161.4 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3082, allocations: 4 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3082, allocations: 0 / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3082, allocations: 3.938 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3084, allocations: 19.98 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3084, allocations: 4.031 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3085, allocations: 19.89 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.3086, allocations: 15.98 kB / 1.06 GB, free: 0.6289 MB / 0.8106 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.0001338/0.3087, allocations: 139.3 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3087, allocations: 15.81 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.3091, allocations: 151 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3091, allocations: 7.922 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3091, allocations: 0 / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3091, allocations: 0 / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3094, allocations: 273.5 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3094, allocations: 0 / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.3095, allocations: 19.92 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3095, allocations: 480 / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3096, allocations: 0 / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3096, allocations: 3.938 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3096, allocations: 4 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.3099, allocations: 235.2 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.31, allocations: 88.92 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.31, allocations: 8 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3102, allocations: 27.91 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.3103, allocations: 23.97 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3103, allocations: 7.984 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001233/0.3104, allocations: 148.4 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3104, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.3107, allocations: 39.84 kB / 1.061 GB, free: 15.36 MB / 0.8262 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.0006683/0.3114, allocations: 0.7786 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3117, allocations: 115.2 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3117, allocations: 4 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3119, allocations: 51.92 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3122, allocations: 28.36 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3146, allocations: 1.974 MB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3149, allocations: 0.7319 MB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.543e-05/0.3149, allocations: 21.45 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3151, allocations: 67.41 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3151, allocations: 0 / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.947/2.262, allocations: 3.962 MB / 1.069 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/12.99, allocations: 8.234 kB / 1.069 GB, free: 7.668 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches