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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009747/0.0009747, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007437/0.007437, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 443.3 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8.625 kB / 0.8797 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 155.2 MB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002261/0.2874, allocations: 1.743 MB / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.2884, allocations: 0.5532 MB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.2885, allocations: 4 kB / 1.034 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.902e-05/0.2886, allocations: 15.84 kB / 1.034 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.883e-05/0.2887, allocations: 23.73 kB / 1.034 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.289, allocations: 71.92 kB / 1.034 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.2892, allocations: 208 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2894, allocations: 109.4 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2895, allocations: 59.66 kB / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2896, allocations: 83.47 kB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.2897, allocations: 8 kB / 1.034 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.253e-05/0.2897, allocations: 8 kB / 1.034 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.2898, allocations: 31.84 kB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.2899, allocations: 105.2 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2902, allocations: 255 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2902, allocations: 0 / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2902, allocations: 3.938 kB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2902, allocations: 0 / 1.034 GB, free: 0.9922 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.0007122/0.2909, allocations: 498.7 kB / 1.035 GB, free: 468 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.291, allocations: 8.031 kB / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.291, allocations: 50.73 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.2911, allocations: 28.66 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.2914, allocations: 260.6 kB / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2914, allocations: 12.38 kB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.2915, allocations: 20.38 kB / 1.035 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.2919, allocations: 232.8 kB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2919, allocations: 0 / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2919, allocations: 8 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.2919, allocations: 7.984 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.2923, allocations: 151.9 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.2932, allocations: 0.5935 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2935, allocations: 130.7 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2937, allocations: 56.84 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.2937, allocations: 4 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2938, allocations: 30.56 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 3.918e-06/0.2938, allocations: 0 / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.000494/0.2943, allocations: 193.7 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2943, allocations: 128.5 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.2945, allocations: 219 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2946, allocations: 29.8 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.2947, allocations: 148.1 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2947, allocations: 35.53 kB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.2948, allocations: 25.64 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2949, allocations: 330.8 kB / 1.038 GB, free: 13.58 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.295, allocations: 51.97 kB / 1.038 GB, free: 13.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2952, allocations: 88.27 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.2954, allocations: 105.7 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2954, allocations: 0 / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003217/0.2958, allocations: 164 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2958, allocations: 4 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2958, allocations: 0 / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2958, allocations: 7.922 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2959, allocations: 23.92 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2959, allocations: 0 / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2961, allocations: 39.86 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.2961, allocations: 8 kB / 1.038 GB, free: 13.07 MB / 0.795 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.000127/0.2963, allocations: 137.8 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2963, allocations: 15.81 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.2967, allocations: 155 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2967, allocations: 3.938 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2967, allocations: 0 / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2967, allocations: 3.984 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.297, allocations: 265.5 kB / 1.039 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.297, allocations: 0 / 1.039 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.2971, allocations: 16 kB / 1.039 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2971, allocations: 3.984 kB / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2972, allocations: 4 kB / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2972, allocations: 7.875 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2972, allocations: 4 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2975, allocations: 243.3 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.2976, allocations: 92.92 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.2976, allocations: 7.938 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2978, allocations: 35.91 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2979, allocations: 19.97 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2979, allocations: 4.031 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001228/0.298, allocations: 156.4 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.298, allocations: 4 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002822/0.2983, allocations: 39.84 kB / 1.039 GB, free: 11.78 MB / 0.795 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.0006533/0.299, allocations: 0.7786 MB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.2993, allocations: 119.9 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2993, allocations: 0 / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2996, allocations: 59.98 kB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2999, allocations: 23.92 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.3026, allocations: 2.064 MB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.303, allocations: 0.7322 MB / 1.043 GB, free: 7.879 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.627e-05/0.3031, allocations: 17.42 kB / 1.043 GB, free: 7.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3032, allocations: 67.41 kB / 1.043 GB, free: 7.793 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.3032, allocations: 0 / 1.043 GB, free: 7.793 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.318, allocations: 3.506 MB / 1.046 GB, free: 4.504 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.3183, allocations: 245.9 kB / 1.047 GB, free: 4.246 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.411, allocations: 2.062 kB / 1.047 GB, free: 4.246 MB / 0.795 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) Reference file matches