Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003572, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7697, allocations: 153.7 MB / 1.021 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00329/0.773, allocations: 1.529 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.7759, allocations: 1.448 MB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.7761, allocations: 7.938 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.7764, allocations: 27.83 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.7768, allocations: 67.77 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.7774, allocations: 156.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.7778, allocations: 169.7 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.7779, allocations: 33.09 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.7781, allocations: 83.8 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.7784, allocations: 71.75 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.7785, allocations: 8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.7787, allocations: 59.91 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.7789, allocations: 71.8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.779, allocations: 69.58 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.7794, allocations: 229.6 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7794, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7794, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.7794, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001047/0.7805, allocations: 0.5127 MB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7805, allocations: 11.98 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.7807, allocations: 35.62 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.781, allocations: 261.6 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.7811, allocations: 16 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.7811, allocations: 16 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.7815, allocations: 236.9 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.7815, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.7815, allocations: 11.94 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7816, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.7824, allocations: 0.749 MB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.7836, allocations: 0.6487 MB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.7841, allocations: 301.8 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.7842, allocations: 24.23 kB / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.7845, allocations: 175.5 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.7845, allocations: 4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0006421/0.7852, allocations: 379 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.7853, allocations: 132.5 kB / 1.028 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.7856, allocations: 312.9 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.7856, allocations: 29.7 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.7857, allocations: 144.6 kB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.7858, allocations: 106.4 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.7858, allocations: 4 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7859, allocations: 338.8 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.7861, allocations: 83.95 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.7863, allocations: 135.3 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.7864, allocations: 99.95 kB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7864, allocations: 0 / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004013/0.7868, allocations: 281.5 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.7869, allocations: 5.562 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7869, allocations: 0 / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7869, allocations: 8 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.7871, allocations: 63.91 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.7872, allocations: 3.984 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.7874, allocations: 31.69 kB / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.7874, allocations: 19.94 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.7876, allocations: 161.8 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.7877, allocations: 23.72 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.7886, allocations: 392.5 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.7886, allocations: 4 kB / 1.03 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7887, allocations: 0 / 1.03 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.7887, allocations: 7.922 kB / 1.03 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.7891, allocations: 345.2 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7891, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.7894, allocations: 59.91 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.7894, allocations: 0 / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.7895, allocations: 15.98 kB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.7895, allocations: 4 kB / 1.031 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7895, allocations: 3.938 kB / 1.031 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.7901, allocations: 326.1 kB / 1.031 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.7903, allocations: 144.6 kB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.7904, allocations: 12 kB / 1.031 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.7907, allocations: 35.97 kB / 1.031 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.7908, allocations: 23.83 kB / 1.031 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.7908, allocations: 15.98 kB / 1.031 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002889/0.7911, allocations: 236.4 kB / 1.031 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7911, allocations: 0 / 1.031 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004768/0.7916, allocations: 71.94 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.7929, allocations: 400 kB / 1.032 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.7935, allocations: 227.7 kB / 1.032 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7935, allocations: 0 / 1.032 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.7938, allocations: 135.8 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.7941, allocations: 36.94 kB / 1.032 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.7953, allocations: 0.5934 MB / 1.033 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.7958, allocations: 0.7775 MB / 1.034 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005079/0.7963, allocations: 142.9 kB / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.7964, allocations: 47.41 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of SimCode: time 6.92e-07/0.7964, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.009687/0.8061, allocations: 3.146 MB / 1.037 GB, free: 0.5234 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches