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.007717/0.007717, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001662/0.001662, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.702, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003523/0.7055, allocations: 2.033 MB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.7067, allocations: 0.5727 MB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.7068, allocations: 4 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.707, allocations: 19.73 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.7072, allocations: 35.59 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.7075, allocations: 87.84 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.7078, allocations: 224 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.708, allocations: 111.6 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.7082, allocations: 83.66 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.7083, allocations: 111.5 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.7084, allocations: 28 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.7085, allocations: 31.94 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.7086, allocations: 55.83 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.7087, allocations: 103.5 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.709, allocations: 281.2 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7091, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7091, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.7091, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 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.0008281/0.7099, allocations: 0.5181 MB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.71, allocations: 12.03 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.71, allocations: 46.73 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.7101, allocations: 32.66 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.7104, allocations: 252.6 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.7104, allocations: 16.31 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.7105, allocations: 20.38 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.7109, allocations: 236.7 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7109, allocations: 0 / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.7109, allocations: 8 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7109, allocations: 4 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.7112, allocations: 139.9 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.7121, allocations: 0.5893 MB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.7125, allocations: 122.7 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.7126, allocations: 56.78 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.7127, allocations: 11.98 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.7127, allocations: 30.56 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.7127, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004499/0.7132, allocations: 169.5 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.7132, allocations: 136.5 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.7135, allocations: 210.9 kB / 1.213 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.7135, allocations: 33.7 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.7136, allocations: 144.2 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.7136, allocations: 27.64 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.7137, allocations: 37.69 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7138, allocations: 326.8 kB / 1.214 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.714, allocations: 47.97 kB / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7141, allocations: 88.27 kB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.7143, allocations: 93.62 kB / 1.214 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7143, allocations: 0 / 1.214 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.7147, allocations: 164.2 kB / 1.214 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7147, allocations: 5.875 kB / 1.214 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7147, allocations: 0 / 1.214 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7147, allocations: 7.938 kB / 1.214 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.7148, allocations: 15.98 kB / 1.214 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7148, allocations: 0 / 1.214 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.715, allocations: 31.81 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.715, allocations: 4 kB / 1.214 GB, free: 5.914 MB / 0.9356 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.0001272/0.7152, allocations: 141.8 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.7152, allocations: 15.81 kB / 1.215 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.7156, allocations: 147 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7156, allocations: 4.406 kB / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7156, allocations: 0 / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7156, allocations: 0 / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.7159, allocations: 265.5 kB / 1.215 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7159, allocations: 4 kB / 1.215 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.716, allocations: 19.92 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.716, allocations: 4 kB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.716, allocations: 11.92 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7161, allocations: 3.938 kB / 1.215 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7161, allocations: 0 / 1.215 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.7164, allocations: 227.3 kB / 1.215 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.7164, allocations: 96.84 kB / 1.215 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.7165, allocations: 8 kB / 1.215 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.7166, allocations: 23.92 kB / 1.215 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.7167, allocations: 23.95 kB / 1.215 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.7167, allocations: 4.047 kB / 1.215 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001269/0.7169, allocations: 144.6 kB / 1.216 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7169, allocations: 4 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002661/0.7172, allocations: 43.84 kB / 1.216 GB, free: 4.652 MB / 0.9356 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.0006194/0.7178, allocations: 0.7785 MB / 1.216 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.7181, allocations: 107.9 kB / 1.216 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7181, allocations: 0 / 1.216 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.7182, allocations: 60.09 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.7186, allocations: 23.92 kB / 1.217 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.7209, allocations: 1.994 MB / 1.218 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.7212, allocations: 0.7319 MB / 1.219 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.023e-05/0.7213, allocations: 17.42 kB / 1.219 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.7214, allocations: 70.22 kB / 1.219 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7214, allocations: 0 / 1.219 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.7414, allocations: 4.093 MB / 1.223 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.473, allocations: 2.266 kB / 1.223 GB, free: 12.84 MB / 0.9512 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) "" Variables in the reference:time,temPro.TEva,temPro.TEvaMin,temPro.errLowPre,temPro.TCon,temPro.TConMax,temPro.errHigPre,temPro.errNegTemDif Variables in the result:TCon.amplitude,TCon.f,TCon.offset,TCon.phase,TCon.startTime,TCon.y,TEva.amplitude,TEva.f,TEva.offset,TEva.phase,TEva.startTime,TEva.y,one.k,one.y,temPro.TCon,temPro.TConMax,temPro.TEva,temPro.TEvaMin,temPro.dTHys,temPro.errHigPre,temPro.errLowPre,temPro.errNegTemDif,temPro.pre_y_start,temPro.u,temPro.y,time