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.001292/0.001292, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001403/0.001403, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.8929/0.8929, allocations: 177.1 MB / 203.7 MB, free: 5.488 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 2.228/2.228, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: 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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.782e-05, allocations: 5.688 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002387/0.002405, allocations: 2.071 MB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.003155, allocations: 0.6272 MB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.00324, allocations: 7.938 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.003339, allocations: 23.72 kB / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.003399, allocations: 43.55 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.003642, allocations: 103.8 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003811, allocations: 236 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.003953, allocations: 76.03 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.004123, allocations: 143.6 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.004205, allocations: 75.7 kB / 0.8931 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.00423, allocations: 20 kB / 0.8931 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.004291, allocations: 31.94 kB / 0.8931 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.004335, allocations: 51.83 kB / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.004382, allocations: 67.77 kB / 0.8932 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004553, allocations: 175.3 kB / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.004554, allocations: 0 / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004555, allocations: 0 / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.004558, allocations: 0 / 0.8934 GB, free: 5.957 MB / 0.8542 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.0004214/0.00498, allocations: 0.5346 MB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.00501, allocations: 16.56 kB / 0.894 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.005181, allocations: 60.73 kB / 0.894 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.005355, allocations: 201 kB / 0.8942 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.005373, allocations: 24.31 kB / 0.8942 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.005391, allocations: 16.38 kB / 0.8942 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.005594, allocations: 266.5 kB / 0.8945 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.0056, allocations: 192 / 0.8945 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.005613, allocations: 8.375 kB / 0.8945 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005619, allocations: 7.938 kB / 0.8945 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.005687, allocations: 51.67 kB / 0.8946 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.006374, allocations: 479.4 kB / 0.895 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.0065, allocations: 75.22 kB / 0.8951 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.006533, allocations: 31.66 kB / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.006548, allocations: 4 kB / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.006565, allocations: 33.39 kB / 0.8952 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.006566, allocations: 0 / 0.8952 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0001511/0.006717, allocations: 97.7 kB / 0.8952 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.006761, allocations: 128.5 kB / 0.8954 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.006876, allocations: 250 kB / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.006893, allocations: 29.7 kB / 0.8956 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.006975, allocations: 195.1 kB / 0.8958 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.006996, allocations: 35.72 kB / 0.8959 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.007042, allocations: 51.34 kB / 0.8959 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.007157, allocations: 0.5 MB / 0.8964 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.007185, allocations: 11.98 kB / 0.8964 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.00726, allocations: 147.4 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.007312, allocations: 39.38 kB / 0.8966 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007314, allocations: 0 / 0.8966 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000106/0.00742, allocations: 103.4 kB / 0.8967 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.007431, allocations: 8.031 kB / 0.8967 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007436, allocations: 4 kB / 0.8967 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.007445, allocations: 0 / 0.8967 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.007495, allocations: 15.98 kB / 0.8967 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007498, allocations: 0 / 0.8967 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.007537, allocations: 11.95 kB / 0.8967 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.007545, allocations: 7.938 kB / 0.8967 GB, free: 2.266 MB / 0.8542 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.571e-05/0.00763, allocations: 172.5 kB / 0.8969 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.007654, allocations: 15.91 kB / 0.8969 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.007684, allocations: 21.47 kB / 0.8969 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007687, allocations: 7.938 kB / 0.8969 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007689, allocations: 48 / 0.8969 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.007693, allocations: 3.984 kB / 0.8969 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.007823, allocations: 161 kB / 0.8971 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007824, allocations: 0 / 0.8971 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.007855, allocations: 15.98 kB / 0.8971 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007856, allocations: 4 kB / 0.8971 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.007863, allocations: 3.984 kB / 0.8971 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.007872, allocations: 7.938 kB / 0.8971 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007872, allocations: 0 / 0.8971 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.008002, allocations: 239.7 kB / 0.8974 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.008018, allocations: 23.86 kB / 0.8974 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.008034, allocations: 0 / 0.8974 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.008082, allocations: 11.98 kB / 0.8974 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.008132, allocations: 23.95 kB / 0.8974 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.008138, allocations: 4 kB / 0.8974 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.008197, allocations: 168.4 kB / 0.8976 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008197, allocations: 0 / 0.8976 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001547/0.008352, allocations: 35.89 kB / 0.8976 GB, free: 1.305 MB / 0.8542 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 6.717e-05/0.008419, allocations: 103.2 kB / 0.8977 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.008512, allocations: 59.59 kB / 0.8978 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.008514, allocations: 0 / 0.8978 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.00855, allocations: 35.61 kB / 0.8978 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.008729, allocations: 28.52 kB / 0.8978 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.009236, allocations: 330.7 kB / 0.8981 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.009273, allocations: 79.77 kB / 0.8982 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.009317, allocations: 13.48 kB / 0.8982 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.009409, allocations: 110.2 kB / 0.8983 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.009409, allocations: 0 / 0.8983 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of Templates: time 0.00352/0.01293, allocations: 2.182 MB / 0.9005 GB, free: 14.39 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] 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","",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.889470426831394]