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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009467/0.0009467, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009335/0.009335, allocations: 170 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003201, allocations: 14.38 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2742, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002171/0.2764, allocations: 1.738 MB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000993/0.2774, allocations: 0.5532 MB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2776, allocations: 4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.2777, allocations: 11.86 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.2778, allocations: 31.72 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2781, allocations: 63.94 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.2783, allocations: 208 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2786, allocations: 111.6 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2787, allocations: 63.66 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2788, allocations: 79.48 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2789, allocations: 8 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.2789, allocations: 12 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.279, allocations: 39.78 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.618e-05/0.2791, allocations: 109.2 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2793, allocations: 239.3 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2793, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2794, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.2794, allocations: 0 / 1.062 GB, free: 1.578 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.0007079/0.2801, allocations: 0.4884 MB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2801, allocations: 8.031 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.2802, allocations: 54.73 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.2803, allocations: 24.66 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.2806, allocations: 256.6 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2806, allocations: 20.38 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.2806, allocations: 12.38 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2811, allocations: 232.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2811, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2812, allocations: 12 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2812, allocations: 8 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2815, allocations: 147.9 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.2824, allocations: 0.6013 MB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.2828, allocations: 130.7 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.283, allocations: 52.84 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.283, allocations: 7.984 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.283, allocations: 30.56 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.283, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004704/0.2835, allocations: 185.5 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.2836, allocations: 132.5 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2838, allocations: 216.3 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2838, allocations: 33.7 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.2839, allocations: 140.2 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.284, allocations: 31.92 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.284, allocations: 29.7 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2842, allocations: 334.8 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2843, allocations: 47.98 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2844, allocations: 96.12 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2847, allocations: 101.7 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2847, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003185/0.285, allocations: 167.9 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.285, allocations: 4 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.285, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.285, allocations: 7.938 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2852, allocations: 15.98 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2852, allocations: 4 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2853, allocations: 35.92 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.2854, allocations: 7.984 kB / 1.065 GB, free: 13.67 MB / 0.8262 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.0001231/0.2855, allocations: 139.3 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.2855, allocations: 15.81 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.2859, allocations: 159 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2859, allocations: 3.938 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2859, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2859, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2862, allocations: 265.5 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2862, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.2863, allocations: 19.98 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2863, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2863, allocations: 7.938 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2864, allocations: 3.938 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2864, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.2867, allocations: 235.2 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.2867, allocations: 100.8 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.2868, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2869, allocations: 31.91 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.287, allocations: 28.14 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.287, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001198/0.2872, allocations: 159.3 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2872, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002717/0.2875, allocations: 35.94 kB / 1.067 GB, free: 12.38 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.0006314/0.2881, allocations: 0.7941 MB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.2884, allocations: 111.9 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2884, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2885, allocations: 60.05 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2889, allocations: 26.17 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2913, allocations: 2.062 MB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2916, allocations: 0.7322 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.387e-05/0.2917, allocations: 17.7 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2918, allocations: 63.34 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.2918, allocations: 4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.3048, allocations: 3.498 MB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.3051, allocations: 254.5 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.057, allocations: 2.109 kB / 1.074 GB, free: 4.836 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