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.0009136/0.0009136, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.0008857/0.0008857, allocations: 177 kB / 24.08 MB, free: 416 kB / 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.9085/0.9085, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.843/1.843, allocations: 377.9 MB / 0.624 GB, free: 8.387 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: 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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.271e-05, allocations: 2.312 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002383/0.002396, allocations: 2.057 MB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.003258, allocations: 0.6383 MB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003369, allocations: 4 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003476, allocations: 23.67 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.003542, allocations: 41.19 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.003832, allocations: 104.4 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.004025, allocations: 232 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.004182, allocations: 80.62 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.004373, allocations: 144.8 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.004453, allocations: 71.77 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.004479, allocations: 20 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.004541, allocations: 38.16 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.004586, allocations: 55.77 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.004631, allocations: 59.83 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004816, allocations: 175.2 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004818, allocations: 4 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004818, allocations: 3.938 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004822, allocations: 0.75 kB / 0.8157 GB, free: 13.68 MB / 0.7761 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.0004607/0.005283, allocations: 0.5322 MB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.00532, allocations: 12.03 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.00551, allocations: 56.78 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005692, allocations: 205.8 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005707, allocations: 12.38 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.005726, allocations: 20.38 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.005945, allocations: 274.8 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005954, allocations: 1.344 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.005965, allocations: 4.375 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.005974, allocations: 7.938 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.006036, allocations: 45.39 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.006801, allocations: 480.1 kB / 0.8173 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.006935, allocations: 75.73 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.006965, allocations: 24.2 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.006983, allocations: 4.844 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.007004, allocations: 37.39 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.007005, allocations: 1.031 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001611/0.007166, allocations: 97.45 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.007212, allocations: 133 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.007325, allocations: 243.3 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.007343, allocations: 31.08 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.007422, allocations: 203 kB / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.00744, allocations: 31.77 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.007485, allocations: 44.62 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.007599, allocations: 0.5 MB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.007623, allocations: 11.98 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.007693, allocations: 143.5 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.007746, allocations: 51.97 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007748, allocations: 4.656 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001097/0.007858, allocations: 100.5 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.007869, allocations: 5.438 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007874, allocations: 4 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007885, allocations: 0 / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.007939, allocations: 19.92 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007942, allocations: 1.344 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.007983, allocations: 12 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007988, allocations: 0 / 0.819 GB, free: 10.02 MB / 0.7761 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.157e-05/0.00807, allocations: 177.7 kB / 0.8191 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.008094, allocations: 15.91 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.008127, allocations: 23.22 kB / 0.8192 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.00813, allocations: 4 kB / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.008131, allocations: 0 / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008134, allocations: 0 / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.008272, allocations: 168.9 kB / 0.8193 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.008274, allocations: 4.859 kB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.008305, allocations: 8 kB / 0.8193 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008307, allocations: 7.469 kB / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.008314, allocations: 3.984 kB / 0.8194 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008315, allocations: 0 / 0.8194 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008316, allocations: 0 / 0.8194 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.008446, allocations: 235.7 kB / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.008461, allocations: 15.91 kB / 0.8196 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.008478, allocations: 8 kB / 0.8196 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.008526, allocations: 7.984 kB / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.008575, allocations: 24 kB / 0.8196 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.008584, allocations: 12.52 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.008644, allocations: 173.7 kB / 0.8198 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008644, allocations: 0 / 0.8198 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001621/0.008806, allocations: 35.89 kB / 0.8198 GB, free: 9.062 MB / 0.7761 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 7.403e-05/0.00888, allocations: 112.1 kB / 0.82 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.008982, allocations: 51.59 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008984, allocations: 0.8438 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.009026, allocations: 35.67 kB / 0.82 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.009211, allocations: 22.64 kB / 0.8201 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.009748, allocations: 330.6 kB / 0.8204 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.009787, allocations: 79.69 kB / 0.8205 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.789e-05/0.009835, allocations: 16.77 kB / 0.8205 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.00993, allocations: 106.2 kB / 0.8206 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.009931, allocations: 0.9375 kB / 0.8206 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.003899/0.01383, allocations: 2.197 MB / 0.8227 GB, free: 6.141 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] 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","",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.8219441580586135]