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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 497.2 MB / 0.7811 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.55 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3729, allocations: 173.9 MB / 1.304 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003797/0.3767, allocations: 2.057 MB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3781, allocations: 0.5728 MB / 1.307 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3783, allocations: 11.94 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.3785, allocations: 19.73 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3787, allocations: 39.59 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3791, allocations: 71.91 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.3796, allocations: 228 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.3799, allocations: 87.91 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.3801, allocations: 95.64 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3803, allocations: 95.53 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.3804, allocations: 28 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3805, allocations: 35.98 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3806, allocations: 51.78 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3808, allocations: 107.4 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.3813, allocations: 282.8 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3814, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3814, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3814, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 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.001285/0.3826, allocations: 0.5257 MB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.3827, allocations: 12.62 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.3828, allocations: 50.73 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.3829, allocations: 24.8 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.3834, allocations: 248.8 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.3834, allocations: 16.38 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.3835, allocations: 20.38 kB / 1.309 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.3841, allocations: 228.6 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3841, allocations: 0 / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.3842, allocations: 11.94 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3842, allocations: 4 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.3847, allocations: 143.9 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.3861, allocations: 0.5935 MB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3867, allocations: 114.7 kB / 1.31 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3868, allocations: 44.83 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3869, allocations: 4 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3869, allocations: 34.56 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.3869, allocations: 0 / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006205/0.3875, allocations: 181.6 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3877, allocations: 132.5 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.3879, allocations: 214.9 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.388, allocations: 29.7 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3881, allocations: 144.3 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.3882, allocations: 35.73 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3883, allocations: 37.7 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3885, allocations: 330.8 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3886, allocations: 47.97 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3888, allocations: 84.27 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.389, allocations: 97.61 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.389, allocations: 0 / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003355/0.3893, allocations: 145.6 kB / 1.311 GB, free: 9.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3893, allocations: 9.406 kB / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3893, allocations: 0 / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3893, allocations: 3.938 kB / 1.311 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3895, allocations: 23.92 kB / 1.311 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3895, allocations: 7.984 kB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3896, allocations: 27.95 kB / 1.311 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3896, allocations: 7.984 kB / 1.311 GB, free: 9.859 MB / 1.014 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.0001433/0.3898, allocations: 134.2 kB / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.3898, allocations: 19.91 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.3902, allocations: 146.9 kB / 1.311 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3902, allocations: 7.938 kB / 1.311 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3902, allocations: 4 kB / 1.311 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3902, allocations: 0 / 1.311 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.3905, allocations: 273.5 kB / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3905, allocations: 0 / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.3906, allocations: 15.92 kB / 1.312 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3906, allocations: 4 kB / 1.312 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3906, allocations: 3.984 kB / 1.312 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3906, allocations: 3.938 kB / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3906, allocations: 0 / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.391, allocations: 235.3 kB / 1.312 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.3911, allocations: 92.95 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.3911, allocations: 7.938 kB / 1.312 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3912, allocations: 23.91 kB / 1.312 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.3913, allocations: 23.97 kB / 1.312 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3913, allocations: 4 kB / 1.312 GB, free: 8.777 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001453/0.3915, allocations: 156.6 kB / 1.312 GB, free: 8.625 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3915, allocations: 0 / 1.312 GB, free: 8.625 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002802/0.3917, allocations: 39.89 kB / 1.312 GB, free: 8.586 MB / 1.014 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.0007612/0.3925, allocations: 0.7749 MB / 1.313 GB, free: 7.781 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.3928, allocations: 103.9 kB / 1.313 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3928, allocations: 0 / 1.313 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.393, allocations: 55.91 kB / 1.313 GB, free: 7.625 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3933, allocations: 22.17 kB / 1.313 GB, free: 7.605 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.396, allocations: 1.998 MB / 1.315 GB, free: 5.535 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3965, allocations: 0.728 MB / 1.316 GB, free: 4.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.119e-05/0.3965, allocations: 13.42 kB / 1.316 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3967, allocations: 71.39 kB / 1.316 GB, free: 4.699 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/0.3967, allocations: 0 / 1.316 GB, free: 4.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.4258, allocations: 4.032 MB / 1.32 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.786, allocations: 11.33 kB / 1.32 GB, free: 0.8555 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.205589109100401]