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.0013/0.0013, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001807/0.003107, allocations: 435.8 kB / 10.33 MB, free: 368 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.001113/0.001113, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002838, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.11/1.11, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0885/1.198, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.345/2.345, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2446/2.59, allocations: 145.9 MB / 0.817 GB, free: 4.207 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 1.362e-06/1.362e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.102e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002431/0.002452, allocations: 1.996 MB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.004503, allocations: 1.874 MB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.004589, allocations: 4 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004739, allocations: 35.7 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.005064, allocations: 123.1 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.005401, allocations: 163.5 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.005702, allocations: 305.3 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005805, allocations: 29.86 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02525/0.03105, allocations: 10.26 MB / 0.8327 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.03121, allocations: 83.77 kB / 0.8328 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.03124, allocations: 20 kB / 0.8328 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.03144, allocations: 71.91 kB / 0.8329 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.03151, allocations: 67.8 kB / 0.833 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.03157, allocations: 55.88 kB / 0.833 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.03194, allocations: 247 kB / 0.8333 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.03196, allocations: 4 kB / 0.8333 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.633e-06/0.03196, allocations: 0 / 0.8333 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.03198, allocations: 0 / 0.8333 GB, free: 7.242 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.0006284/0.0326, allocations: 0.5158 MB / 0.8338 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.03264, allocations: 12.62 kB / 0.8338 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.0328, allocations: 133.8 kB / 0.8339 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.03304, allocations: 236.7 kB / 0.8341 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.03305, allocations: 20.73 kB / 0.8341 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.03307, allocations: 16.38 kB / 0.8342 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.0333, allocations: 289.8 kB / 0.8344 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.03331, allocations: 3.938 kB / 0.8344 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.03332, allocations: 12 kB / 0.8345 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.03333, allocations: 4 kB / 0.8345 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.03372, allocations: 494.7 kB / 0.8349 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.03429, allocations: 394.2 kB / 0.8353 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.03448, allocations: 136.5 kB / 0.8354 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.03453, allocations: 49.67 kB / 0.8355 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.03456, allocations: 19.97 kB / 0.8355 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.03474, allocations: 183 kB / 0.8357 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.03474, allocations: 0 / 0.8357 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.0002269/0.03497, allocations: 177.4 kB / 0.8358 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.03501, allocations: 55.41 kB / 0.8359 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.03513, allocations: 213 kB / 0.8361 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.03516, allocations: 33.7 kB / 0.8361 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.0352, allocations: 117.5 kB / 0.8362 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.03526, allocations: 118.9 kB / 0.8364 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.03533, allocations: 69.64 kB / 0.8364 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.03541, allocations: 338.7 kB / 0.8368 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.03545, allocations: 27.98 kB / 0.8368 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.03553, allocations: 125.7 kB / 0.8369 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.03564, allocations: 115.7 kB / 0.837 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.03564, allocations: 0 / 0.837 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001502/0.0358, allocations: 149.1 kB / 0.8372 GB, free: 3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.03581, allocations: 4 kB / 0.8372 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.03581, allocations: 4 kB / 0.8372 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.03582, allocations: 0 / 0.8372 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.03598, allocations: 75.89 kB / 0.8372 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.03599, allocations: 0 / 0.8372 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.03606, allocations: 27.83 kB / 0.8373 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.03608, allocations: 12.03 kB / 0.8373 GB, free: 2.879 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 8.793e-05/0.03616, allocations: 132.5 kB / 0.8374 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.03619, allocations: 27.97 kB / 0.8374 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.03645, allocations: 230.1 kB / 0.8376 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.03646, allocations: 7.938 kB / 0.8376 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.03646, allocations: 0 / 0.8376 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.03646, allocations: 3.984 kB / 0.8377 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.03661, allocations: 169.5 kB / 0.8378 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.03661, allocations: 0 / 0.8378 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.03673, allocations: 63.95 kB / 0.8379 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.0368, allocations: 59.7 kB / 0.8379 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0368, allocations: 3.938 kB / 0.8379 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.03681, allocations: 12 kB / 0.8379 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.03681, allocations: 3.938 kB / 0.838 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.03681, allocations: 3.984 kB / 0.838 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.03699, allocations: 190.2 kB / 0.8381 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.03702, allocations: 8 kB / 0.8381 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.03708, allocations: 15.98 kB / 0.8382 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.03712, allocations: 23.95 kB / 0.8382 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.03714, allocations: 11.98 kB / 0.8382 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.03719, allocations: 66.78 kB / 0.8383 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.03719, allocations: 0 / 0.8383 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001639/0.03736, allocations: 59.94 kB / 0.8383 GB, free: 1.75 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.001065/0.03842, allocations: 499.5 kB / 0.8388 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.0386, allocations: 120.6 kB / 0.8389 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.03861, allocations: 8 kB / 0.8389 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.03869, allocations: 84.97 kB / 0.839 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.03886, allocations: 64.39 kB / 0.8391 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.04081, allocations: 476.5 kB / 0.8395 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.04087, allocations: 98.36 kB / 0.8396 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.04101, allocations: 74.97 kB / 0.8397 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.04118, allocations: 135.3 kB / 0.8398 GB, free: 408 kB / 0.8073 GB Notification: Performance of SimCode: time 1.693e-06/0.04119, allocations: 0 / 0.8398 GB, free: 408 kB / 0.8073 GB Notification: Performance of Templates: time 0.005612/0.0468, allocations: 3.856 MB / 0.8436 GB, free: 12.59 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.626223463565111]