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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8559/0.8559, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.243e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002038/0.00205, allocations: 2.01 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.002786, allocations: 0.6194 MB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.002867, allocations: 4 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.002963, allocations: 19.73 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.003019, allocations: 39.53 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.0033, allocations: 99.81 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.003506, allocations: 239.9 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.003669, allocations: 87.97 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.003841, allocations: 143.6 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.00392, allocations: 71.78 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.003944, allocations: 24 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.004004, allocations: 31.98 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.004054, allocations: 59.77 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.004107, allocations: 67.83 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.004341, allocations: 291 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004344, allocations: 4 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004346, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004349, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 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.0004974/0.004847, allocations: 469.1 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.004882, allocations: 8.75 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.00492, allocations: 54.73 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.005086, allocations: 44.77 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.005329, allocations: 206.7 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005343, allocations: 16.38 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.005363, allocations: 20.38 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.005642, allocations: 302.2 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005649, allocations: 192 / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.005665, allocations: 8.125 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.00567, allocations: 7.938 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.005851, allocations: 143.7 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.006435, allocations: 0.507 MB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.006661, allocations: 114.7 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.006724, allocations: 44.83 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.006741, allocations: 4 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.006758, allocations: 34.5 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.006759, allocations: 4 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002802/0.007039, allocations: 166 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.007089, allocations: 132.5 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.007224, allocations: 223.1 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.007241, allocations: 29.8 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.00731, allocations: 152.3 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.00733, allocations: 35.72 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.007375, allocations: 41.7 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.00745, allocations: 326.8 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.007522, allocations: 51.97 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.007627, allocations: 169.3 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007738, allocations: 81.69 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00774, allocations: 0 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001709/0.007911, allocations: 152.2 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007923, allocations: 8.031 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.007927, allocations: 0 / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007937, allocations: 4 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.007994, allocations: 15.98 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007999, allocations: 3.938 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.008066, allocations: 35.8 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.008075, allocations: 4 kB / 1.007 GB, free: 5.848 MB / 0.9636 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 8.5e-05/0.00816, allocations: 137.8 kB / 1.007 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.008182, allocations: 15.91 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.008213, allocations: 25.45 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008215, allocations: 0 / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008218, allocations: 0 / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008222, allocations: 7.938 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.008386, allocations: 216.6 kB / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008387, allocations: 0 / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.008425, allocations: 11.98 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.008428, allocations: 8.031 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.008439, allocations: 7.984 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00844, allocations: 7.938 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008441, allocations: 0 / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.008621, allocations: 223.3 kB / 1.007 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.008641, allocations: 31.77 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.008661, allocations: 4 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.008732, allocations: 15.98 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.008793, allocations: 27.95 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.008801, allocations: 12.02 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.008885, allocations: 160.6 kB / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008885, allocations: 0 / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001766/0.009062, allocations: 43.84 kB / 1.008 GB, free: 4.84 MB / 0.9636 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.0003487/0.00941, allocations: 0.7592 MB / 1.008 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.009596, allocations: 99.89 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009598, allocations: 8.062 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.009669, allocations: 55.91 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.009877, allocations: 24.66 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.01149, allocations: 1.996 MB / 1.011 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.01157, allocations: 121.2 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.843e-05/0.01162, allocations: 25.47 kB / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.01171, allocations: 64.47 kB / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.01171, allocations: 0 / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.02975, allocations: 4.806 MB / 1.016 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.136, allocations: 4.062 kB / 1.016 GB, free: 12.97 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.002 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.159475365653634]