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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.41/2.41, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.16 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2348, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003007/0.2378, allocations: 2.089 MB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.2388, allocations: 0.561 MB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.2389, allocations: 4 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.239, allocations: 11.86 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.2391, allocations: 31.72 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.2393, allocations: 67.94 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.2395, allocations: 215.9 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.2397, allocations: 103.6 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2399, allocations: 75.7 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.24, allocations: 103.5 kB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.24, allocations: 12 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.2401, allocations: 20 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.2401, allocations: 39.84 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.2402, allocations: 99.38 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2405, allocations: 251.4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2405, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2405, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2405, allocations: 3.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 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.0006958/0.2412, allocations: 0.5181 MB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2413, allocations: 11.97 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.2413, allocations: 54.73 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.2414, allocations: 24.66 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.2417, allocations: 256.6 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2417, allocations: 12.38 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2417, allocations: 20.38 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.2421, allocations: 232.7 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2421, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2421, allocations: 7.938 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2422, allocations: 4 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.2425, allocations: 139.9 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.2433, allocations: 0.5896 MB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2437, allocations: 122.6 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2438, allocations: 48.91 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.2438, allocations: 4 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2439, allocations: 38.56 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2439, allocations: 0 / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000426/0.2443, allocations: 173.5 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.2444, allocations: 132.5 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2446, allocations: 212.3 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2446, allocations: 29.7 kB / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.2447, allocations: 148.1 kB / 1.058 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.2447, allocations: 35.62 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.2448, allocations: 33.7 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.2449, allocations: 330.8 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.245, allocations: 51.92 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2452, allocations: 84.27 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.2454, allocations: 92.94 kB / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2454, allocations: 0 / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002942/0.2457, allocations: 153.4 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2457, allocations: 5.719 kB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2457, allocations: 7.938 kB / 1.059 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2457, allocations: 3.969 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2458, allocations: 23.98 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2459, allocations: 3.938 kB / 1.059 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.246, allocations: 27.88 kB / 1.059 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.246, allocations: 4 kB / 1.059 GB, free: 0.6328 MB / 0.8106 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.000167/0.2462, allocations: 137.8 kB / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.2462, allocations: 19.75 kB / 1.059 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.2466, allocations: 147 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2466, allocations: 3.938 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2466, allocations: 0 / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2466, allocations: 4 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.2468, allocations: 269.5 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2469, allocations: 0 / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.247, allocations: 15.98 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.247, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.247, allocations: 8 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.247, allocations: 3.938 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.247, allocations: 0 / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.2473, allocations: 227.2 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.2474, allocations: 88.92 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2474, allocations: 11.98 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2476, allocations: 27.92 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.2476, allocations: 27.89 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2477, allocations: 4 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2478, allocations: 155.4 kB / 1.06 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2478, allocations: 0 / 1.06 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002604/0.248, allocations: 39.84 kB / 1.06 GB, free: 15.36 MB / 0.8262 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.0005778/0.2486, allocations: 0.7787 MB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.2489, allocations: 103.9 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2489, allocations: 4 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2491, allocations: 55.91 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2494, allocations: 24 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.2516, allocations: 2.035 MB / 1.063 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2519, allocations: 0.7283 MB / 1.064 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.729e-05/0.252, allocations: 29.44 kB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2521, allocations: 63.41 kB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2521, allocations: 0 / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4391/0.6912, allocations: 3.579 MB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.6914, allocations: 255.4 kB / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.39, allocations: 0 / 1.068 GB, free: 7.766 MB / 0.8262 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