Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001086/0.001086, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001201/0.001201, allocations: 169 kB / 24.28 MB, free: 284 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.9697/0.9697, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.938/1.938, allocations: 377.8 MB / 0.6239 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0.6562 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.184e-05, allocations: 3.875 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003996/0.004028, allocations: 1.952 MB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.006843, allocations: 1.831 MB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.006965, allocations: 4 kB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.007266, allocations: 31.72 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.007771, allocations: 128.2 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.008257, allocations: 172.3 kB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.00864, allocations: 305.2 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.008783, allocations: 22.33 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.008974, allocations: 143.8 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.009186, allocations: 95.73 kB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.009228, allocations: 21.34 kB / 0.8161 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.00949, allocations: 131.8 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.009612, allocations: 95.72 kB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.009724, allocations: 81.69 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.01023, allocations: 330.8 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01023, allocations: 0 / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01023, allocations: 0 / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.01024, allocations: 3.938 kB / 0.8167 GB, free: 12.73 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009124/0.01115, allocations: 0.6228 MB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.0112, allocations: 8.031 kB / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.01144, allocations: 60.62 kB / 0.8174 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.01177, allocations: 223.5 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.01179, allocations: 13.66 kB / 0.8176 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.01184, allocations: 28.36 kB / 0.8177 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.01227, allocations: 349.1 kB / 0.818 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.01229, allocations: 4.469 kB / 0.818 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.01232, allocations: 4.531 kB / 0.818 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01233, allocations: 4 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.01317, allocations: 0.6396 MB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.01436, allocations: 0.5471 MB / 0.8192 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.01478, allocations: 179.4 kB / 0.8193 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01491, allocations: 65.03 kB / 0.8194 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.01496, allocations: 19.98 kB / 0.8194 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.01527, allocations: 201.6 kB / 0.8196 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.725e-06/0.01527, allocations: 1.156 kB / 0.8196 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.0006358/0.0159, allocations: 278.2 kB / 0.8199 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.01599, allocations: 132.5 kB / 0.82 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.01628, allocations: 325 kB / 0.8203 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.01632, allocations: 33.7 kB / 0.8203 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01644, allocations: 191.7 kB / 0.8205 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.01655, allocations: 123.8 kB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01665, allocations: 79.33 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.01682, allocations: 0.5131 MB / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.01693, allocations: 47.97 kB / 0.8213 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.01713, allocations: 185.1 kB / 0.8214 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.0174, allocations: 129.5 kB / 0.8216 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01741, allocations: 0 / 0.8216 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004354/0.01784, allocations: 234 kB / 0.8218 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.01786, allocations: 11.94 kB / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01787, allocations: 0 / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01789, allocations: 1.375 kB / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.01814, allocations: 63.91 kB / 0.8219 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.01815, allocations: 0 / 0.8219 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.01828, allocations: 35.75 kB / 0.8219 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.01831, allocations: 13.41 kB / 0.8219 GB, free: 7.109 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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 0.0001367/0.01844, allocations: 172.5 kB / 0.8221 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.01852, allocations: 43.8 kB / 0.8221 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.01911, allocations: 309.5 kB / 0.8224 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.01912, allocations: 4 kB / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01913, allocations: 0 / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01913, allocations: 3.938 kB / 0.8224 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.01942, allocations: 245.2 kB / 0.8227 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01942, allocations: 0 / 0.8227 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.0196, allocations: 57.25 kB / 0.8227 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.01961, allocations: 4 kB / 0.8227 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.01963, allocations: 8 kB / 0.8227 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01963, allocations: 0 / 0.8227 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01964, allocations: 0.9688 kB / 0.8227 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.02009, allocations: 294.6 kB / 0.823 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.02022, allocations: 67.73 kB / 0.8231 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.02027, allocations: 12.55 kB / 0.8231 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.0204, allocations: 12.66 kB / 0.8231 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.02047, allocations: 34.66 kB / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.0205, allocations: 11.94 kB / 0.8231 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001817/0.02068, allocations: 225.1 kB / 0.8234 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02068, allocations: 0 / 0.8234 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004076/0.02109, allocations: 91.75 kB / 0.8234 GB, free: 5.484 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: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001408/0.02249, allocations: 467 kB / 0.8239 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.02289, allocations: 168.2 kB / 0.824 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.02289, allocations: 1.656 kB / 0.824 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.02307, allocations: 103.5 kB / 0.8241 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.02339, allocations: 54.91 kB / 0.8242 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.02444, allocations: 488.2 kB / 0.8247 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.0245, allocations: 98.11 kB / 0.8248 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000211/0.02471, allocations: 150.8 kB / 0.8249 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.02478, allocations: 44.48 kB / 0.8249 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of SimCode: time 1.964e-06/0.02478, allocations: 0 / 0.8249 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of Templates: time 0.006656/0.03144, allocations: 4.002 MB / 0.8289 GB, free: 128 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.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: 5.316852716030553]