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.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.001075/0.001075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002689, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.00248, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9221/0.9221, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07918/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.311/2.311, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2244/2.536, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_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 2.535e-06/2.535e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.947e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003383/0.003412, allocations: 1.989 MB / 0.8209 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.006136, allocations: 1.901 MB / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.006214, allocations: 0 / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.006368, allocations: 27.67 kB / 0.8228 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.006773, allocations: 131.1 kB / 0.8229 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.007143, allocations: 163.4 kB / 0.8231 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.007482, allocations: 305.3 kB / 0.8233 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.007587, allocations: 33.81 kB / 0.8234 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02917/0.03676, allocations: 10.24 MB / 0.8334 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.03688, allocations: 87.8 kB / 0.8335 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.03691, allocations: 20 kB / 0.8335 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.03707, allocations: 67.86 kB / 0.8335 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.03714, allocations: 71.8 kB / 0.8336 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.0372, allocations: 63.81 kB / 0.8337 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.03747, allocations: 243 kB / 0.8339 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.03749, allocations: 0 / 0.8339 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.393e-06/0.03749, allocations: 0 / 0.8339 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.0375, allocations: 0 / 0.8339 GB, free: 6.82 MB / 0.8073 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.0005621/0.03806, allocations: 0.5313 MB / 0.8344 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.03809, allocations: 8.031 kB / 0.8344 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.03824, allocations: 121.9 kB / 0.8345 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.03845, allocations: 240.7 kB / 0.8348 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.03846, allocations: 12.75 kB / 0.8348 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.03849, allocations: 28.38 kB / 0.8348 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.03869, allocations: 287.5 kB / 0.8351 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.03869, allocations: 3.938 kB / 0.8351 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.03871, allocations: 8 kB / 0.8351 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.03872, allocations: 8 kB / 0.8351 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.0391, allocations: 494.1 kB / 0.8356 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.0396, allocations: 386.5 kB / 0.8359 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.03978, allocations: 137.9 kB / 0.8361 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.03983, allocations: 52.83 kB / 0.8361 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.03985, allocations: 19.98 kB / 0.8361 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.04001, allocations: 178.5 kB / 0.8363 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 1.322e-06/0.04001, allocations: 0 / 0.8363 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.000209/0.04022, allocations: 173.2 kB / 0.8365 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.04025, allocations: 59.41 kB / 0.8365 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.04036, allocations: 213 kB / 0.8367 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.04038, allocations: 33.7 kB / 0.8368 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.04042, allocations: 121.5 kB / 0.8369 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.04048, allocations: 122.9 kB / 0.837 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.04054, allocations: 57.67 kB / 0.8371 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.04061, allocations: 350.6 kB / 0.8374 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.04065, allocations: 27.97 kB / 0.8374 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.04072, allocations: 113.9 kB / 0.8375 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.04084, allocations: 125.4 kB / 0.8377 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.04084, allocations: 0 / 0.8377 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000143/0.04098, allocations: 145.3 kB / 0.8378 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.04099, allocations: 11.59 kB / 0.8378 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.041, allocations: 0 / 0.8378 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.04101, allocations: 0 / 0.8378 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.04115, allocations: 71.89 kB / 0.8379 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.04116, allocations: 8.031 kB / 0.8379 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.04122, allocations: 27.84 kB / 0.8379 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.04123, allocations: 7.984 kB / 0.8379 GB, free: 2.453 MB / 0.8073 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 7.599e-05/0.04131, allocations: 136.5 kB / 0.838 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.04134, allocations: 31.97 kB / 0.8381 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.04157, allocations: 230 kB / 0.8383 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.04157, allocations: 4 kB / 0.8383 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.04158, allocations: 0 / 0.8383 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.04158, allocations: 0 / 0.8383 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.04171, allocations: 177.5 kB / 0.8385 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.04171, allocations: 0 / 0.8385 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.04182, allocations: 67.89 kB / 0.8385 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.04187, allocations: 59.7 kB / 0.8386 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.04188, allocations: 4 kB / 0.8386 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.04188, allocations: 4 kB / 0.8386 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.04189, allocations: 4 kB / 0.8386 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.04189, allocations: 0 / 0.8386 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.04204, allocations: 178.3 kB / 0.8388 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.04206, allocations: 15.98 kB / 0.8388 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.04212, allocations: 15.98 kB / 0.8388 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.04216, allocations: 23.95 kB / 0.8388 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.04217, allocations: 4 kB / 0.8388 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.04222, allocations: 78.77 kB / 0.8389 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.04222, allocations: 0 / 0.8389 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001443/0.04236, allocations: 63.94 kB / 0.839 GB, free: 1.316 MB / 0.8073 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.001037/0.0434, allocations: 0.4884 MB / 0.8394 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.04355, allocations: 132.6 kB / 0.8396 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.04356, allocations: 4 kB / 0.8396 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.04365, allocations: 104.9 kB / 0.8397 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.04386, allocations: 258.8 kB / 0.8399 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.04564, allocations: 464.5 kB / 0.8404 GB, free: 44 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.018e-05/0.0457, allocations: 102.4 kB / 0.8405 GB, free: 15.92 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000115/0.04581, allocations: 82.95 kB / 0.8405 GB, free: 15.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.04597, allocations: 123.3 kB / 0.8407 GB, free: 15.72 MB / 0.823 GB Notification: Performance of SimCode: time 6.11e-07/0.04597, allocations: 0 / 0.8407 GB, free: 15.72 MB / 0.823 GB Notification: Performance of Templates: time 0.005075/0.05105, allocations: 3.882 MB / 0.8444 GB, free: 11.88 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087497849948704]