Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009511/0.0009511, allocations: 80.39 kB / 21.47 MB, free: 3.023 MB / 18.57 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.0009589/0.0009589, allocations: 167.5 kB / 24.87 MB, free: 9.277 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.9498/0.9498, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.759/1.759, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.754e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003597/0.003624, allocations: 2.064 MB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004977, allocations: 0.6373 MB / 0.791 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.005109, allocations: 4 kB / 0.791 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.005255, allocations: 24.86 kB / 0.791 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.005358, allocations: 36.14 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.005728, allocations: 106.6 kB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.006008, allocations: 236 kB / 0.7914 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.006218, allocations: 76.03 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.006496, allocations: 143.6 kB / 0.7916 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.006615, allocations: 75.7 kB / 0.7916 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.006654, allocations: 24 kB / 0.7917 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.006739, allocations: 37.33 kB / 0.7917 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.006801, allocations: 47.83 kB / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.006872, allocations: 63.84 kB / 0.7918 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.007152, allocations: 179.2 kB / 0.792 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007156, allocations: 0.5938 kB / 0.792 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007158, allocations: 0 / 0.792 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.007162, allocations: 0.9062 kB / 0.792 GB, free: 8.457 MB / 0.7448 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.0006472/0.00781, allocations: 0.5353 MB / 0.7925 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.007848, allocations: 8.031 kB / 0.7925 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.008151, allocations: 57.72 kB / 0.7926 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.008432, allocations: 205.5 kB / 0.7928 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.008457, allocations: 16.36 kB / 0.7928 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.008487, allocations: 16.38 kB / 0.7928 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.008819, allocations: 272 kB / 0.793 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.008829, allocations: 192 / 0.793 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.008848, allocations: 4.375 kB / 0.793 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.008859, allocations: 11.88 kB / 0.7931 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.008966, allocations: 43.95 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.009774, allocations: 488.9 kB / 0.7936 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.00995, allocations: 67.75 kB / 0.7936 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.009986, allocations: 33.56 kB / 0.7937 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01, allocations: 4 kB / 0.7937 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.01003, allocations: 33.39 kB / 0.7937 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.01003, allocations: 0 / 0.7937 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003303/0.01036, allocations: 100.2 kB / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.01041, allocations: 128.5 kB / 0.7939 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.01053, allocations: 243.3 kB / 0.7942 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.01055, allocations: 29.7 kB / 0.7942 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.01064, allocations: 199 kB / 0.7944 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.01065, allocations: 31.72 kB / 0.7944 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.01071, allocations: 51.28 kB / 0.7944 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01081, allocations: 0.5044 MB / 0.7949 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.01084, allocations: 8.719 kB / 0.7949 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.01091, allocations: 143.5 kB / 0.7951 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.01097, allocations: 47.91 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01097, allocations: 1.625 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001123/0.01108, allocations: 104 kB / 0.7952 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.0111, allocations: 5.406 kB / 0.7952 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01111, allocations: 4 kB / 0.7952 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01112, allocations: 4.625 kB / 0.7952 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.01118, allocations: 20.61 kB / 0.7953 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.01119, allocations: 0 / 0.7953 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.01123, allocations: 12.69 kB / 0.7953 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01124, allocations: 5.141 kB / 0.7953 GB, free: 4.789 MB / 0.7448 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.344e-05/0.01132, allocations: 168.5 kB / 0.7954 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.01135, allocations: 16.44 kB / 0.7955 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01138, allocations: 22.34 kB / 0.7955 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01138, allocations: 4 kB / 0.7955 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01138, allocations: 0 / 0.7955 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01139, allocations: 4.828 kB / 0.7955 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.01153, allocations: 165 kB / 0.7956 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01153, allocations: 1.688 kB / 0.7956 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.01157, allocations: 15.88 kB / 0.7957 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.01157, allocations: 4 kB / 0.7957 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.01157, allocations: 3.984 kB / 0.7957 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01157, allocations: 0.8438 kB / 0.7957 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.01158, allocations: 0 / 0.7957 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.01171, allocations: 235.7 kB / 0.7959 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.01173, allocations: 22.16 kB / 0.7959 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01175, allocations: 4 kB / 0.7959 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.0118, allocations: 7.984 kB / 0.7959 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.01185, allocations: 23.95 kB / 0.796 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01186, allocations: 4 kB / 0.796 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.01192, allocations: 174.2 kB / 0.7961 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01192, allocations: 0 / 0.7961 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001747/0.01209, allocations: 35.89 kB / 0.7962 GB, free: 3.848 MB / 0.7448 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.0001018/0.01219, allocations: 112.2 kB / 0.7963 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01231, allocations: 53.44 kB / 0.7963 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01231, allocations: 4 kB / 0.7963 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.01235, allocations: 35.55 kB / 0.7964 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.01256, allocations: 19.94 kB / 0.7964 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.01313, allocations: 336.6 kB / 0.7967 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.01318, allocations: 75.81 kB / 0.7968 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.01323, allocations: 19.02 kB / 0.7968 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.01333, allocations: 102.2 kB / 0.7969 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01333, allocations: 0 / 0.7969 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.003878/0.01721, allocations: 2.219 MB / 0.799 GB, free: 0.8828 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.788861689157784]