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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01072/0.01072, allocations: 102 kB / 15.73 MB, free: 6.039 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.002107/0.002107, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.12 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9713, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003221/0.9745, allocations: 1.872 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.9767, allocations: 1.585 MB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.9768, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.977, allocations: 27.8 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.9773, allocations: 79.53 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.9778, allocations: 171 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.9781, allocations: 289.4 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.9782, allocations: 25.12 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.9783, allocations: 95.75 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.9786, allocations: 107.6 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.9786, allocations: 20 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.9788, allocations: 83.97 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.9789, allocations: 87.8 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.979, allocations: 127.2 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.9793, allocations: 330.6 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9794, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9794, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.9794, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 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.0008014/0.9802, allocations: 0.5597 MB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9802, allocations: 15.97 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.9804, allocations: 36.66 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.9807, allocations: 278.7 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.9807, allocations: 8.375 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.9808, allocations: 24.12 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.9812, allocations: 236.9 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.9812, allocations: 0 / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.9812, allocations: 12 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.9813, allocations: 4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.9822, allocations: 0.7529 MB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.9833, allocations: 0.6369 MB / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.9839, allocations: 306 kB / 1.215 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.984, allocations: 113.4 kB / 1.215 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.9841, allocations: 24.19 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.9845, allocations: 179.4 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.9845, allocations: 0 / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0006837/0.9852, allocations: 382.1 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.9853, allocations: 132.5 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.9856, allocations: 305 kB / 1.216 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.9856, allocations: 41.7 kB / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.9857, allocations: 136.5 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.9858, allocations: 118.3 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.9859, allocations: 65.69 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.986, allocations: 342.8 kB / 1.217 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.9862, allocations: 83.94 kB / 1.217 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.9864, allocations: 124.4 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.9867, allocations: 212.7 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9867, allocations: 0 / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004185/0.9871, allocations: 285.5 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9872, allocations: 8 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9872, allocations: 7.875 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.9872, allocations: 0 / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.9874, allocations: 59.97 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.9874, allocations: 4 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.9876, allocations: 27.77 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.9876, allocations: 19.94 kB / 1.218 GB, free: 3.016 MB / 0.9356 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 (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 (36): * Single equations (assignments): 36 * 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.0001682/0.9878, allocations: 161.8 kB / 1.218 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.9879, allocations: 27.62 kB / 1.218 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.9886, allocations: 396.5 kB / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9886, allocations: 4 kB / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9886, allocations: 0 / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9886, allocations: 0 / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.989, allocations: 341.3 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.989, allocations: 0 / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.9892, allocations: 59.91 kB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.9892, allocations: 0 / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.9892, allocations: 15.94 kB / 1.219 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.9892, allocations: 3.984 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9892, allocations: 4 kB / 1.219 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.9897, allocations: 326.1 kB / 1.219 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.9899, allocations: 140.6 kB / 1.219 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.9899, allocations: 19.92 kB / 1.219 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.9901, allocations: 19.98 kB / 1.219 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.9902, allocations: 23.97 kB / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.9902, allocations: 19.98 kB / 1.219 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002071/0.9904, allocations: 240.4 kB / 1.22 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9904, allocations: 0 / 1.22 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002847/0.9907, allocations: 63.94 kB / 1.22 GB, free: 1.086 MB / 0.9356 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 (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.0009231/0.9916, allocations: 409.8 kB / 1.22 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.992, allocations: 231.5 kB / 1.22 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.992, allocations: 0 / 1.22 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.9922, allocations: 139.8 kB / 1.22 GB, free: 476 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.9925, allocations: 45.16 kB / 1.22 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.9934, allocations: 0.5292 MB / 1.221 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.9937, allocations: 0.758 MB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.9941, allocations: 142.9 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.9942, allocations: 47.36 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.9942, allocations: 0 / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.007537/1.002, allocations: 3.489 MB / 1.225 GB, free: 11.45 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches