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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001784, allocations: 113.4 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8576, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003165/0.8608, allocations: 1.879 MB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.8629, allocations: 1.576 MB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.863, allocations: 2 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.8632, allocations: 24.88 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.8635, allocations: 76.8 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.864, allocations: 179.2 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.8643, allocations: 279.5 kB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.8645, allocations: 46.52 kB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.8646, allocations: 92.55 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.8648, allocations: 107 kB / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.8649, allocations: 20 kB / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.8651, allocations: 87.41 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.8652, allocations: 90.39 kB / 1.267 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.8653, allocations: 125.1 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.8658, allocations: 328.7 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8658, allocations: 3.938 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8658, allocations: 1.359 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8658, allocations: 0 / 1.267 GB, free: 4.926 MB / 0.9981 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.0007177/0.8665, allocations: 0.5603 MB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.8666, allocations: 8.938 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.8667, allocations: 35.02 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.867, allocations: 281.7 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.867, allocations: 15.56 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.8671, allocations: 20.67 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.8675, allocations: 239.7 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8675, allocations: 0 / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.8675, allocations: 7.469 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.8675, allocations: 4.375 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.8686, allocations: 0.7453 MB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/0.8696, allocations: 0.649 MB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.8701, allocations: 300.3 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.8703, allocations: 117.1 kB / 1.27 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.8703, allocations: 22.03 kB / 1.27 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.8707, allocations: 180.1 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/0.8707, allocations: 0 / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0007228/0.8714, allocations: 389.2 kB / 1.271 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8715, allocations: 132 kB / 1.271 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.8718, allocations: 308.5 kB / 1.271 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.8718, allocations: 32.42 kB / 1.271 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.8719, allocations: 144.8 kB / 1.271 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.872, allocations: 117.6 kB / 1.272 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.8721, allocations: 65.45 kB / 1.272 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.8722, allocations: 344.1 kB / 1.272 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.8723, allocations: 80.94 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.8725, allocations: 131.6 kB / 1.272 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.8728, allocations: 216.2 kB / 1.272 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8728, allocations: 4.719 kB / 1.272 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004468/0.8733, allocations: 280.8 kB / 1.273 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8733, allocations: 4.469 kB / 1.273 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8733, allocations: 3.938 kB / 1.273 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8733, allocations: 2.188 kB / 1.273 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.8736, allocations: 61.75 kB / 1.273 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8736, allocations: 1.625 kB / 1.273 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.8737, allocations: 34.77 kB / 1.273 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.8738, allocations: 9.406 kB / 1.273 GB, free: 1.82 MB / 0.9981 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.0001375/0.8739, allocations: 171.4 kB / 1.273 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.874, allocations: 24.98 kB / 1.273 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.8746, allocations: 390.4 kB / 1.273 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8746, allocations: 8.188 kB / 1.273 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8747, allocations: 0.6562 kB / 1.273 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8747, allocations: 2.328 kB / 1.273 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.875, allocations: 341.2 kB / 1.274 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.875, allocations: 3.938 kB / 1.274 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.8751, allocations: 57.97 kB / 1.274 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.8752, allocations: 6.156 kB / 1.274 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.8752, allocations: 12.55 kB / 1.274 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8752, allocations: 6.312 kB / 1.274 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8752, allocations: 4.906 kB / 1.274 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.8756, allocations: 327 kB / 1.274 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.8757, allocations: 144.2 kB / 1.274 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.8758, allocations: 10.47 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.876, allocations: 28.7 kB / 1.274 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.8761, allocations: 27.62 kB / 1.274 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.8761, allocations: 18.97 kB / 1.274 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001799/0.8763, allocations: 232.2 kB / 1.274 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8763, allocations: 0 / 1.274 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003116/0.8766, allocations: 70.58 kB / 1.274 GB, free: 0.7695 MB / 0.9981 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.001381/0.878, allocations: 413.3 kB / 1.275 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.8784, allocations: 231.3 kB / 1.275 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8784, allocations: 0 / 1.275 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.8786, allocations: 134.5 kB / 1.275 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.879, allocations: 42.08 kB / 1.275 GB, free: 468 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.8798, allocations: 0.5555 MB / 1.276 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.8802, allocations: 0.7639 MB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.8803, allocations: 52.67 kB / 1.277 GB, free: 15.41 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.8803, allocations: 3.938 kB / 1.277 GB, free: 15.41 MB / 1.014 GB Notification: Performance of Templates: time 0.008166/0.8885, allocations: 4.501 MB / 1.281 GB, free: 14.87 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.092112119076774]