Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_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.005141/0.005141, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001159/0.001159, allocations: 193.1 kB / 16.67 MB, free: 5.875 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.69 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2241, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003123/0.2272, allocations: 2.042 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.2282, allocations: 0.5649 MB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.2283, allocations: 4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2285, allocations: 31.61 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.2286, allocations: 35.66 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.2289, allocations: 83.83 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2291, allocations: 216 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.2293, allocations: 131.5 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2295, allocations: 87.64 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2296, allocations: 107.5 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2297, allocations: 24 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.2297, allocations: 32 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.2298, allocations: 51.84 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.2299, allocations: 107.4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2302, allocations: 277.9 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2302, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2302, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2302, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 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.0006867/0.2309, allocations: 0.5111 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2309, allocations: 16.02 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.231, allocations: 54.67 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.2311, allocations: 28.66 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.2313, allocations: 256.6 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2314, allocations: 8.375 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2314, allocations: 20.38 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.2317, allocations: 224.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.2318, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2318, allocations: 12 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2318, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.2321, allocations: 143.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.2329, allocations: 0.5895 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2332, allocations: 118.7 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.2333, allocations: 48.84 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2334, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2334, allocations: 34.56 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/0.2334, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004126/0.2338, allocations: 173.4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.2339, allocations: 136.5 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2341, allocations: 204.4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2341, allocations: 33.7 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2342, allocations: 144.1 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.2342, allocations: 31.64 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.2343, allocations: 37.7 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.2344, allocations: 330.8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.2345, allocations: 43.98 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2346, allocations: 88.2 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2348, allocations: 95.8 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2348, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002786/0.2351, allocations: 161.4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2351, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2351, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2352, allocations: 7.938 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2353, allocations: 15.98 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2353, allocations: 8.031 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2354, allocations: 31.83 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2354, allocations: 11.92 kB / 1.095 GB, free: 10.32 MB / 0.8575 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.0001079/0.2356, allocations: 135.5 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2356, allocations: 15.81 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.2359, allocations: 151 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2359, allocations: 3.938 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2359, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2359, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2362, allocations: 273.4 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2362, allocations: 0 / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.334e-05/0.2363, allocations: 15.98 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2363, allocations: 0 / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2363, allocations: 4 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2363, allocations: 3.938 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2363, allocations: 480 / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2366, allocations: 235.2 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.2367, allocations: 88.92 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2367, allocations: 8 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2369, allocations: 23.91 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.2369, allocations: 19.97 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.237, allocations: 11.98 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2371, allocations: 155.4 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2371, allocations: 0 / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002558/0.2373, allocations: 39.84 kB / 1.096 GB, free: 9.062 MB / 0.8575 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.0005485/0.2379, allocations: 0.7713 MB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2382, allocations: 111.9 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2382, allocations: 4 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2383, allocations: 43.98 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2386, allocations: 24.3 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.2407, allocations: 1.994 MB / 1.099 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2409, allocations: 0.7319 MB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.504e-05/0.241, allocations: 13.42 kB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.2411, allocations: 67.34 kB / 1.099 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.2411, allocations: 0 / 1.099 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7757/1.017, allocations: 4.009 MB / 1.103 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.37/10.39, allocations: 14.05 kB / 1.103 GB, free: 1.312 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches