Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008873/0.0008873, allocations: 99.47 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.0008982/0.0008982, allocations: 177.3 kB / 15.94 MB, free: 228 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.287/1.287, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6653 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003175, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.661, allocations: 142.3 MB / 0.9535 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001687/0.6628, allocations: 1.527 MB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.6643, allocations: 1.45 MB / 0.9564 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.6644, allocations: 1.469 kB / 0.9564 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.6646, allocations: 22.88 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.6648, allocations: 69.38 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.6651, allocations: 153.7 kB / 0.9567 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.6654, allocations: 173.4 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.6655, allocations: 30.67 kB / 0.9569 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.6655, allocations: 77.78 kB / 0.9569 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.6657, allocations: 74 kB / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.6658, allocations: 9.969 kB / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.6659, allocations: 57.31 kB / 0.9571 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.666, allocations: 78.17 kB / 0.9571 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.6661, allocations: 61.77 kB / 0.9572 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.6663, allocations: 236.1 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.6663, allocations: 1.031 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6663, allocations: 0 / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6663, allocations: 0 / 0.9574 GB, free: 5.344 MB / 0.7169 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.0005792/0.6669, allocations: 0.4988 MB / 0.9579 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6669, allocations: 13.61 kB / 0.9579 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.6671, allocations: 39.95 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.6673, allocations: 264 kB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.6674, allocations: 15.22 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.6674, allocations: 15.84 kB / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.6677, allocations: 237.6 kB / 0.9585 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6677, allocations: 0 / 0.9585 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.6678, allocations: 11.59 kB / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6678, allocations: 7.625 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007675/0.6685, allocations: 0.7514 MB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/0.6695, allocations: 0.6416 MB / 0.9598 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.6699, allocations: 301.4 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.67, allocations: 24.48 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.6703, allocations: 185.5 kB / 0.9603 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.6703, allocations: 1 kB / 0.9603 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0005954/0.6709, allocations: 375.5 kB / 0.9607 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6709, allocations: 136.3 kB / 0.9608 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.6712, allocations: 303.9 kB / 0.9611 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.6712, allocations: 35.83 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.6713, allocations: 132.3 kB / 0.9613 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.6714, allocations: 117.6 kB / 0.9614 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.6714, allocations: 4 kB / 0.9614 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.6714, allocations: 346.7 kB / 0.9617 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.6716, allocations: 83.48 kB / 0.9618 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.6717, allocations: 120.1 kB / 0.9619 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6719, allocations: 113.7 kB / 0.962 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6719, allocations: 0 / 0.962 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003839/0.6723, allocations: 283.7 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6723, allocations: 8.906 kB / 0.9623 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6723, allocations: 0.9062 kB / 0.9623 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6723, allocations: 1.219 kB / 0.9623 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.6726, allocations: 61.72 kB / 0.9624 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6726, allocations: 1.344 kB / 0.9624 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.6727, allocations: 33.86 kB / 0.9624 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.6728, allocations: 17.14 kB / 0.9624 GB, free: 1.703 MB / 0.7169 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.0001203/0.6729, allocations: 164.3 kB / 0.9626 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.6729, allocations: 30.42 kB / 0.9626 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.6735, allocations: 384.5 kB / 0.963 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.6736, allocations: 7.766 kB / 0.963 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6736, allocations: 0 / 0.963 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6736, allocations: 5.453 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.6738, allocations: 344.3 kB / 0.9633 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6738, allocations: 0 / 0.9633 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.674, allocations: 66.16 kB / 0.9634 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.674, allocations: 6.328 kB / 0.9634 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.6741, allocations: 11.48 kB / 0.9634 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6741, allocations: 5.469 kB / 0.9634 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6741, allocations: 1.5 kB / 0.9634 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.6745, allocations: 324.7 kB / 0.9637 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.6746, allocations: 146.8 kB / 0.9638 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.6746, allocations: 10.45 kB / 0.9639 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.6748, allocations: 39.5 kB / 0.9639 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.6749, allocations: 25.06 kB / 0.9639 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.6749, allocations: 17.02 kB / 0.9639 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001757/0.6751, allocations: 236.6 kB / 0.9642 GB, free: 452 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6751, allocations: 0 / 0.9642 GB, free: 452 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002966/0.6754, allocations: 65.88 kB / 0.9642 GB, free: 436 kB / 0.7169 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.000861/0.6763, allocations: 417.8 kB / 0.9646 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.6767, allocations: 224.3 kB / 0.9648 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6767, allocations: 0 / 0.9648 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.6769, allocations: 131.3 kB / 0.965 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.6771, allocations: 30.58 kB / 0.965 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.678, allocations: 0.5961 MB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.6782, allocations: 0.7686 MB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000325/0.6786, allocations: 147.7 kB / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.6787, allocations: 45.16 kB / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.6787, allocations: 0 / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.006489/0.6852, allocations: 3.148 MB / 0.9696 GB, free: 13.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches