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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009739/0.000974, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007168/0.007168, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 12 kB / 0.873 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6112, allocations: 153.8 MB / 1.023 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002246/0.6135, allocations: 1.732 MB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.6145, allocations: 0.5533 MB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.6146, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.6147, allocations: 19.78 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.6148, allocations: 23.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.6151, allocations: 71.88 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.6153, allocations: 216 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.6156, allocations: 95.64 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.6157, allocations: 67.58 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.6158, allocations: 71.56 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.6158, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.6159, allocations: 16 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.616, allocations: 43.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.6161, allocations: 101.2 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.6164, allocations: 253.3 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.6164, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6164, allocations: 4 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6164, allocations: 0 / 1.026 GB, free: 12.73 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.0007467/0.6171, allocations: 490.7 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6172, allocations: 12.03 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.6173, allocations: 50.73 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.6173, allocations: 28.66 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.6176, allocations: 260.6 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6177, allocations: 16.38 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.6177, allocations: 20.38 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.6181, allocations: 236.8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.6182, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.6182, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6182, allocations: 8 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.6185, allocations: 151.7 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.6195, allocations: 0.605 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.6199, allocations: 126.7 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.62, allocations: 52.84 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.6201, allocations: 3.938 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6201, allocations: 46.67 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.6201, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004715/0.6206, allocations: 185.3 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.6207, allocations: 128.5 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.6209, allocations: 207.1 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.6209, allocations: 33.69 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.621, allocations: 144.2 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.621, allocations: 31.92 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.6211, allocations: 25.7 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6212, allocations: 330.8 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.6213, allocations: 51.97 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.6215, allocations: 96.08 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.6217, allocations: 97.62 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6217, allocations: 0 / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003313/0.6221, allocations: 161.5 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6221, allocations: 11.98 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6221, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6221, allocations: 7.875 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.6222, allocations: 23.98 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6223, allocations: 0 / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.6224, allocations: 35.86 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.6224, allocations: 4 kB / 1.03 GB, free: 8.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.0001329/0.6226, allocations: 135.5 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.6226, allocations: 23.81 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.623, allocations: 147 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.623, allocations: 7.938 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.623, allocations: 0 / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.623, allocations: 3.984 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.6233, allocations: 273.5 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6233, allocations: 3.938 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.6234, allocations: 15.98 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6235, allocations: 4 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.6235, allocations: 8 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.6235, allocations: 3.938 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6235, allocations: 3.938 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.6238, allocations: 239.3 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.6239, allocations: 96.84 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.6239, allocations: 8 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.6241, allocations: 31.91 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.6242, allocations: 24.14 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6242, allocations: 4 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001315/0.6244, allocations: 156.3 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6244, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002783/0.6247, allocations: 39.84 kB / 1.031 GB, free: 7.523 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.0006575/0.6253, allocations: 0.7864 MB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.6256, allocations: 115.9 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6257, allocations: 0 / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.6258, allocations: 63.98 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.6261, allocations: 24.67 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.6286, allocations: 2.068 MB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6289, allocations: 0.7322 MB / 1.035 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.939e-05/0.629, allocations: 21.7 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.6291, allocations: 63.41 kB / 1.035 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of SimCode: time 6.852e-06/0.6291, allocations: 0 / 1.035 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.6441, allocations: 3.506 MB / 1.038 GB, free: 220 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.6443, allocations: 239.2 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.407, allocations: 0 / 1.038 GB, free: 15.96 MB / 0.795 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