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.000969/0.000969, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009982/0.0009982, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8935/0.8935, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.674e-06/1.674e-06, allocations: 0 / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.532e-05, allocations: 5.547 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003221/0.003246, allocations: 1.958 MB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.005055, allocations: 1.835 MB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.005137, allocations: 7.938 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.005379, allocations: 27.72 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.005807, allocations: 129.4 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.006138, allocations: 175.4 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.006396, allocations: 301.2 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.006494, allocations: 29.22 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02723/0.03372, allocations: 10.47 MB / 0.8261 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.03387, allocations: 79.81 kB / 0.8262 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.03391, allocations: 20 kB / 0.8262 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.03409, allocations: 67.92 kB / 0.8263 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.03418, allocations: 95.72 kB / 0.8264 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.03427, allocations: 79.75 kB / 0.8265 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.03463, allocations: 282.8 kB / 0.8267 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03463, allocations: 0 / 0.8267 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.03464, allocations: 0 / 0.8267 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.03464, allocations: 0 / 0.8267 GB, free: 5.922 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.000657/0.0353, allocations: 0.5979 MB / 0.8273 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.03534, allocations: 12.03 kB / 0.8273 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.0355, allocations: 52.67 kB / 0.8274 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.03577, allocations: 262.1 kB / 0.8276 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.03579, allocations: 16.75 kB / 0.8276 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.03582, allocations: 24.38 kB / 0.8277 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.03614, allocations: 315.8 kB / 0.828 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.03615, allocations: 3.938 kB / 0.828 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.03617, allocations: 4 kB / 0.828 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.03618, allocations: 4 kB / 0.828 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.03665, allocations: 0.6351 MB / 0.8286 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.03734, allocations: 0.5499 MB / 0.8291 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.03761, allocations: 186.8 kB / 0.8293 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.0377, allocations: 67.64 kB / 0.8294 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.03773, allocations: 15.98 kB / 0.8294 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.03793, allocations: 197.7 kB / 0.8296 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.03793, allocations: 0 / 0.8296 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.0004058/0.03833, allocations: 278.2 kB / 0.8298 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.03839, allocations: 114.7 kB / 0.8299 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.03855, allocations: 288.2 kB / 0.8302 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.03857, allocations: 29.7 kB / 0.8303 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.03864, allocations: 187.7 kB / 0.8304 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.03871, allocations: 130.9 kB / 0.8306 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.03878, allocations: 75.34 kB / 0.8306 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.03892, allocations: 0.5157 MB / 0.8311 GB, free: 1.137 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.03901, allocations: 43.95 kB / 0.8312 GB, free: 1.094 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.03914, allocations: 150.2 kB / 0.8313 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.0393, allocations: 133.2 kB / 0.8314 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.03931, allocations: 0 / 0.8314 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002571/0.03956, allocations: 233.9 kB / 0.8317 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.03958, allocations: 8 kB / 0.8317 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.03958, allocations: 0 / 0.8317 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.0396, allocations: 3.984 kB / 0.8317 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.03975, allocations: 71.94 kB / 0.8317 GB, free: 484 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.03976, allocations: 3.984 kB / 0.8318 GB, free: 480 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.03983, allocations: 23.83 kB / 0.8318 GB, free: 456 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.03985, allocations: 15.98 kB / 0.8318 GB, free: 440 kB / 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.0001103/0.03996, allocations: 172.5 kB / 0.832 GB, free: 256 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.04, allocations: 39.81 kB / 0.832 GB, free: 216 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.04039, allocations: 308.8 kB / 0.8323 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.04039, allocations: 4 kB / 0.8323 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.04039, allocations: 0 / 0.8323 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.0404, allocations: 7.922 kB / 0.8323 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.04067, allocations: 236.4 kB / 0.8325 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.04067, allocations: 0 / 0.8325 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.04078, allocations: 67.91 kB / 0.8326 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.04078, allocations: 0 / 0.8326 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.04079, allocations: 12 kB / 0.8326 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.0408, allocations: 4 kB / 0.8326 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0408, allocations: 0 / 0.8326 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.04107, allocations: 286.6 kB / 0.8329 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.04114, allocations: 71.67 kB / 0.8329 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.04117, allocations: 8 kB / 0.833 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.04123, allocations: 15.98 kB / 0.833 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.04128, allocations: 27.94 kB / 0.833 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.0413, allocations: 19.94 kB / 0.833 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.429e-05/0.04139, allocations: 197.1 kB / 0.8332 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.04139, allocations: 0 / 0.8332 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001917/0.04158, allocations: 63.89 kB / 0.8333 GB, free: 14.85 MB / 0.7917 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.0008095/0.04239, allocations: 343.8 kB / 0.8336 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.04267, allocations: 163.4 kB / 0.8337 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.04267, allocations: 0 / 0.8337 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.04278, allocations: 111.5 kB / 0.8339 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.04302, allocations: 57.17 kB / 0.8339 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009646/0.04399, allocations: 487.6 kB / 0.8344 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.282e-05/0.04404, allocations: 98.12 kB / 0.8345 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.04423, allocations: 142.8 kB / 0.8346 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.0443, allocations: 48.42 kB / 0.8346 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.0443, allocations: 0 / 0.8346 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of Templates: time 0.005759/0.05006, allocations: 3.611 MB / 0.8382 GB, free: 9.918 MB / 0.7917 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.062694194260985]