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.0009953/0.0009953, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001571/0.001571, allocations: 161 kB / 23.82 MB, free: 0.75 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.947/0.947, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.902/1.902, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.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 1.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.438e-05, allocations: 4.703 kB / 0.8115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003509/0.003533, allocations: 1.967 MB / 0.8135 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005528, allocations: 1.838 MB / 0.8153 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.005597, allocations: 7.938 kB / 0.8153 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.005811, allocations: 31.72 kB / 0.8153 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.006147, allocations: 133.2 kB / 0.8154 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.006426, allocations: 155.6 kB / 0.8156 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.006681, allocations: 309.2 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.006778, allocations: 25.83 kB / 0.8159 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.006902, allocations: 144.3 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.007055, allocations: 95.73 kB / 0.8161 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.007087, allocations: 24.72 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.007248, allocations: 120.4 kB / 0.8163 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.007332, allocations: 95.72 kB / 0.8163 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.007408, allocations: 85.22 kB / 0.8164 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.007718, allocations: 330.8 kB / 0.8167 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007721, allocations: 0 / 0.8167 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007721, allocations: 0 / 0.8167 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.007725, allocations: 0.5312 kB / 0.8167 GB, free: 11.28 MB / 0.7292 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.0006188/0.008344, allocations: 0.6182 MB / 0.8173 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.008378, allocations: 12.02 kB / 0.8174 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.008527, allocations: 60.64 kB / 0.8174 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.008758, allocations: 228.6 kB / 0.8176 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.008775, allocations: 12.75 kB / 0.8176 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.008802, allocations: 24.38 kB / 0.8177 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.009094, allocations: 346.6 kB / 0.818 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.009107, allocations: 3.938 kB / 0.818 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.009126, allocations: 8 kB / 0.818 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.009137, allocations: 7.984 kB / 0.818 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.009651, allocations: 0.6404 MB / 0.8186 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.01041, allocations: 0.5497 MB / 0.8192 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.0107, allocations: 183.3 kB / 0.8194 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.01078, allocations: 72.48 kB / 0.8194 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.01082, allocations: 19.98 kB / 0.8194 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.01103, allocations: 203.1 kB / 0.8196 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.01103, allocations: 0 / 0.8196 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.0003975/0.01143, allocations: 274.3 kB / 0.8199 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.01148, allocations: 133.7 kB / 0.82 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.01168, allocations: 324.2 kB / 0.8203 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.0117, allocations: 29.7 kB / 0.8204 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.01178, allocations: 189.7 kB / 0.8205 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.01185, allocations: 119 kB / 0.8207 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.01193, allocations: 83.23 kB / 0.8207 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01206, allocations: 0.5157 MB / 0.8212 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.01214, allocations: 47.97 kB / 0.8213 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01227, allocations: 174.2 kB / 0.8215 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.01245, allocations: 144.8 kB / 0.8216 GB, free: 6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01245, allocations: 0 / 0.8216 GB, free: 6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002626/0.01271, allocations: 226.2 kB / 0.8218 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01272, allocations: 4 kB / 0.8218 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01273, allocations: 0 / 0.8218 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01275, allocations: 7.984 kB / 0.8218 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.0129, allocations: 64.44 kB / 0.8219 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01291, allocations: 1.938 kB / 0.8219 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.01298, allocations: 31.78 kB / 0.8219 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.013, allocations: 11.98 kB / 0.8219 GB, free: 5.656 MB / 0.7292 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.0001004/0.0131, allocations: 176.5 kB / 0.8221 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.01314, allocations: 40.72 kB / 0.8221 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.01352, allocations: 310 kB / 0.8224 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01352, allocations: 4 kB / 0.8224 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01352, allocations: 0 / 0.8224 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01353, allocations: 7.922 kB / 0.8224 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01371, allocations: 240.3 kB / 0.8227 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01371, allocations: 0 / 0.8227 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.01381, allocations: 59.91 kB / 0.8227 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01382, allocations: 2.406 kB / 0.8227 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01383, allocations: 15.98 kB / 0.8227 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01383, allocations: 4 kB / 0.8227 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01383, allocations: 3.984 kB / 0.8227 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01412, allocations: 286.5 kB / 0.823 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.0142, allocations: 67.73 kB / 0.8231 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.01423, allocations: 12.97 kB / 0.8231 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.0143, allocations: 15.98 kB / 0.8231 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.01435, allocations: 21.05 kB / 0.8231 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01437, allocations: 19.98 kB / 0.8232 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001253/0.01449, allocations: 221.1 kB / 0.8234 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01449, allocations: 1.062 kB / 0.8234 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002384/0.01473, allocations: 99.69 kB / 0.8235 GB, free: 4.016 MB / 0.7292 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.001001/0.01573, allocations: 460.8 kB / 0.8239 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.01599, allocations: 167.1 kB / 0.8241 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01599, allocations: 4.562 kB / 0.8241 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01611, allocations: 103.6 kB / 0.8242 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01632, allocations: 56.41 kB / 0.8242 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.01726, allocations: 491.6 kB / 0.8247 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01731, allocations: 94.12 kB / 0.8248 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.0175, allocations: 150.8 kB / 0.8249 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.01758, allocations: 52.47 kB / 0.825 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.01758, allocations: 0 / 0.825 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of Templates: time 0.006076/0.02365, allocations: 3.991 MB / 0.8289 GB, free: 14.65 MB / 0.7448 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.3241087519563735]