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.005646/0.005646, allocations: 102 kB / 15.73 MB, free: 6.035 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.001255/0.001255, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.202/2.202, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7236, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003158/0.7268, allocations: 2.035 MB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.7278, allocations: 0.5678 MB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.7279, allocations: 6.219 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.7281, allocations: 29.33 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.7282, allocations: 34.12 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.7285, allocations: 83.72 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.7288, allocations: 222.8 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.7291, allocations: 115 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.7292, allocations: 88.11 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.7293, allocations: 99.47 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.7294, allocations: 24.47 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.7295, allocations: 37.45 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.7296, allocations: 52.28 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.7297, allocations: 106.6 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.7301, allocations: 287.8 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7301, allocations: 4 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7301, allocations: 0.8125 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7301, allocations: 0 / 1.091 GB, free: 2.816 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.0007938/0.7309, allocations: 0.507 MB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.731, allocations: 10.59 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.731, allocations: 52.19 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.7311, allocations: 26.09 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.7314, allocations: 261.6 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.7314, allocations: 11.41 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.7315, allocations: 27.95 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.7319, allocations: 219.3 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7319, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.7319, allocations: 13.78 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.732, allocations: 5 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.7323, allocations: 139.2 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.7332, allocations: 0.5861 MB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.7336, allocations: 121.4 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.7337, allocations: 62.27 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.7338, allocations: 1.562 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.7338, allocations: 40.92 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.7338, allocations: 0 / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000477/0.7343, allocations: 168.2 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.7344, allocations: 134.8 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.7346, allocations: 207.3 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.7346, allocations: 32.42 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.7347, allocations: 144.1 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.7347, allocations: 38.7 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.7348, allocations: 34.81 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.7349, allocations: 328.2 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.735, allocations: 46.45 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.7352, allocations: 87.55 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.7354, allocations: 96.69 kB / 1.094 GB, free: 276 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7354, allocations: 0 / 1.094 GB, free: 276 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003451/0.7358, allocations: 155.5 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7358, allocations: 5.031 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7358, allocations: 0.7969 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.7358, allocations: 5.281 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.736, allocations: 20.47 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.736, allocations: 2.047 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.7361, allocations: 32.25 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.7362, allocations: 3.531 kB / 1.095 GB, free: 176 kB / 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.0001299/0.7363, allocations: 135.5 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.7364, allocations: 16.38 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.7368, allocations: 150.7 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7368, allocations: 5.562 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7369, allocations: 0 / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7369, allocations: 1.562 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.7373, allocations: 272.4 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7373, allocations: 4.688 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7374, allocations: 14.45 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.7374, allocations: 1.422 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.7374, allocations: 2.156 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.7374, allocations: 8.906 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7374, allocations: 0 / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.7378, allocations: 228.3 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.7379, allocations: 95.25 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.7379, allocations: 6.344 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.7381, allocations: 30.08 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.7382, allocations: 27.31 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7382, allocations: 4.281 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001471/0.7384, allocations: 155.2 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7384, allocations: 0 / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002862/0.7387, allocations: 40.28 kB / 1.096 GB, free: 15.3 MB / 0.8731 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.0006594/0.7393, allocations: 0.7765 MB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.7397, allocations: 114.1 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7397, allocations: 0.875 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.7399, allocations: 53.38 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.7402, allocations: 30.47 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.743, allocations: 1.985 MB / 1.099 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.7433, allocations: 0.7321 MB / 1.099 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.7434, allocations: 15.59 kB / 1.099 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.7435, allocations: 66.16 kB / 1.099 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of SimCode: time 7.02e-07/0.7435, allocations: 0 / 1.099 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.7662, allocations: 3.985 MB / 1.103 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.137, allocations: 15.12 kB / 1.103 GB, free: 11.77 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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