Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_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.001537/0.001537, 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.001873/0.001873, allocations: 192.5 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.325/2.325, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5031, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002954/0.5061, allocations: 2.039 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.5069, allocations: 0.5766 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.507, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.5071, allocations: 23.73 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.5072, allocations: 35.59 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.5075, allocations: 79.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.5077, allocations: 224 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.5079, allocations: 111.6 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.508, allocations: 99.56 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.5081, allocations: 99.53 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.5082, allocations: 24 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.5083, allocations: 32 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.5083, allocations: 51.83 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.524e-05/0.5084, allocations: 107.4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.5087, allocations: 273.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5087, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5087, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5087, allocations: 7.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 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.0006838/0.5094, allocations: 0.5141 MB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.5094, allocations: 12.03 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.5095, allocations: 46.73 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.5096, allocations: 32.64 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.5098, allocations: 252.7 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5099, allocations: 16.38 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.5099, allocations: 16.38 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.5103, allocations: 228.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5103, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5103, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5103, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.5106, allocations: 135.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.5114, allocations: 0.5933 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.5118, allocations: 126.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.5119, allocations: 52.78 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.5119, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.512, allocations: 34.69 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.512, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004223/0.5124, allocations: 177.3 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.5125, allocations: 128.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.5126, allocations: 214.9 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5127, allocations: 29.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.5127, allocations: 144.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.5128, allocations: 31.55 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.5129, allocations: 41.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.513, allocations: 326.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5131, allocations: 47.98 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5132, allocations: 84.27 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5134, allocations: 97.88 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5134, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002847/0.5137, allocations: 149.5 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5137, allocations: 8 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5138, allocations: 3.984 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5138, allocations: 7.922 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5139, allocations: 19.92 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5139, allocations: 4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.514, allocations: 27.86 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.5141, allocations: 8 kB / 1.025 GB, free: 10.82 MB / 0.7794 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.0001094/0.5142, allocations: 133.8 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.5142, allocations: 15.81 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.5145, allocations: 143 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5145, allocations: 7.938 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5146, allocations: 7.984 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5146, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.5148, allocations: 273.4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5148, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.5149, allocations: 15.92 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.5149, allocations: 4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.515, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.515, allocations: 7.875 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.515, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.5153, allocations: 231.2 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.5153, allocations: 96.86 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.5154, allocations: 0 / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.5155, allocations: 27.91 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.5156, allocations: 23.97 kB / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5156, allocations: 3.984 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001067/0.5157, allocations: 148.6 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5157, allocations: 4 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000263/0.516, allocations: 39.84 kB / 1.026 GB, free: 9.559 MB / 0.7794 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.0005604/0.5166, allocations: 0.771 MB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.5169, allocations: 123.9 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5169, allocations: 3.938 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.517, allocations: 47.98 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5173, allocations: 24.48 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5194, allocations: 1.971 MB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.5196, allocations: 0.7397 MB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.5197, allocations: 13.42 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.5198, allocations: 67.41 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5198, allocations: 0 / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.55/2.069, allocations: 3.967 MB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/15.54, allocations: 8.141 kB / 1.033 GB, free: 1.836 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches