Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000807/0.000807, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008471/0.0008471, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8626/0.8626, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.389e-05, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003558/0.003582, allocations: 2.017 MB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000928/0.00451, allocations: 0.6194 MB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004612, allocations: 4 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.004732, allocations: 27.66 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.004794, allocations: 39.61 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.005102, allocations: 99.81 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.005294, allocations: 236 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.00547, allocations: 75.98 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.005656, allocations: 143.6 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.005743, allocations: 75.77 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.005772, allocations: 24 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.005835, allocations: 35.94 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.005886, allocations: 55.81 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.005939, allocations: 71.83 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.006198, allocations: 298.9 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.006202, allocations: 0 / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006203, allocations: 0 / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.006208, allocations: 0 / 0.9847 GB, free: 14.72 MB / 0.948 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.0005707/0.006779, allocations: 461.2 kB / 0.9851 GB, free: 14.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.006823, allocations: 8.031 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.006868, allocations: 58.73 kB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.007054, allocations: 44.77 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.007383, allocations: 205.8 kB / 0.9854 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007401, allocations: 16.38 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.00742, allocations: 20.31 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.00772, allocations: 306.2 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.007728, allocations: 192 / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.007745, allocations: 8.125 kB / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.00775, allocations: 8 kB / 0.9858 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.007936, allocations: 139.9 kB / 0.9859 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.008554, allocations: 0.5144 MB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.008792, allocations: 118.8 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.008859, allocations: 48.91 kB / 0.9866 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.00888, allocations: 4 kB / 0.9866 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.008898, allocations: 34.56 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.008899, allocations: 0 / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002825/0.009182, allocations: 165.5 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.00923, allocations: 128.5 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.009374, allocations: 223.8 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.009392, allocations: 33.7 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.009466, allocations: 144.5 kB / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.009485, allocations: 31.73 kB / 0.9873 GB, free: 11.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.009531, allocations: 41.7 kB / 0.9873 GB, free: 11.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.009608, allocations: 326.8 kB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.009679, allocations: 47.97 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.009787, allocations: 164.5 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.009902, allocations: 89.62 kB / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009904, allocations: 0 / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001744/0.01008, allocations: 153.5 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01009, allocations: 4 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01009, allocations: 0 / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.0101, allocations: 4 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.01016, allocations: 15.98 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01017, allocations: 3.984 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.01024, allocations: 39.84 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.01024, allocations: 0 / 0.9881 GB, free: 10.9 MB / 0.948 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 9.319e-05/0.01034, allocations: 144.7 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.01036, allocations: 15.91 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.01039, allocations: 21.47 kB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01039, allocations: 0 / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01039, allocations: 0 / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.0104, allocations: 11.92 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01057, allocations: 220.6 kB / 0.9885 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01057, allocations: 0 / 0.9885 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.01061, allocations: 16.36 kB / 0.9885 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01061, allocations: 8 kB / 0.9886 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.01062, allocations: 7.922 kB / 0.9886 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01062, allocations: 0 / 0.9886 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01062, allocations: 3.938 kB / 0.9886 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.0108, allocations: 227.2 kB / 0.9888 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.01082, allocations: 19.89 kB / 0.9888 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01084, allocations: 4 kB / 0.9888 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.01091, allocations: 23.98 kB / 0.9888 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.01098, allocations: 27.94 kB / 0.9889 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01098, allocations: 7.938 kB / 0.9889 GB, free: 10.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.01107, allocations: 152.7 kB / 0.989 GB, free: 9.941 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01107, allocations: 0 / 0.989 GB, free: 9.941 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001757/0.01124, allocations: 35.89 kB / 0.989 GB, free: 9.906 MB / 0.948 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.0003996/0.01164, allocations: 0.7792 MB / 0.9898 GB, free: 9.102 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.01185, allocations: 107.9 kB / 0.9899 GB, free: 8.996 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01185, allocations: 0 / 0.9899 GB, free: 8.996 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.01192, allocations: 43.98 kB / 0.99 GB, free: 8.953 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01213, allocations: 25.03 kB / 0.99 GB, free: 8.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.01367, allocations: 2.011 MB / 0.9919 GB, free: 6.832 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.189e-05/0.01375, allocations: 125.2 kB / 0.9921 GB, free: 6.691 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.01381, allocations: 13.48 kB / 0.9921 GB, free: 6.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.01389, allocations: 68.47 kB / 0.9921 GB, free: 6.613 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01389, allocations: 0 / 0.9921 GB, free: 6.613 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.03139, allocations: 4.808 MB / 0.9968 GB, free: 2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.947, allocations: 13.09 kB / 0.9968 GB, free: 1.992 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.880116774700582]