Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001878/0.001878, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002372/0.002372, allocations: 220.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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.739/1.739, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 66.81 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003255/0.373, allocations: 1.692 MB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3752, allocations: 1.395 MB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.3752, allocations: 0 / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.3754, allocations: 23.8 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.3758, allocations: 115.5 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3762, allocations: 130.2 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.3765, allocations: 253.5 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3766, allocations: 11.94 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3767, allocations: 83.81 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.3769, allocations: 107.6 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.377, allocations: 16 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.3772, allocations: 127.9 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3773, allocations: 83.73 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3774, allocations: 107.3 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.3778, allocations: 334.6 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3778, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3778, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.3778, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007912/0.3786, allocations: 499.6 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3787, allocations: 8.031 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.3788, allocations: 44.69 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3791, allocations: 209.1 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3791, allocations: 16.38 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3791, allocations: 12.38 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.3795, allocations: 220.5 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3795, allocations: 4 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.3795, allocations: 8 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3795, allocations: 8 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/0.3805, allocations: 0.7334 MB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3813, allocations: 0.5465 MB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.3818, allocations: 279.7 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.382, allocations: 93.38 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.382, allocations: 24.23 kB / 1.361 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.3824, allocations: 176.9 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.3824, allocations: 3.938 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0007131/0.3831, allocations: 369.3 kB / 1.362 GB, free: 112 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.3832, allocations: 132.5 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.3836, allocations: 312.9 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3836, allocations: 29.7 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3837, allocations: 136.7 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3838, allocations: 111 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3839, allocations: 65.69 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3841, allocations: 338.8 kB / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.3842, allocations: 79.95 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3844, allocations: 127.4 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3848, allocations: 217.6 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3848, allocations: 7.938 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004785/0.3853, allocations: 281.3 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3853, allocations: 5.719 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3853, allocations: 0 / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3853, allocations: 0 / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3855, allocations: 63.91 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3856, allocations: 4 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3857, allocations: 27.81 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3857, allocations: 12 kB / 1.363 GB, free: 14.11 MB / 1.061 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 (35): * Single equations (assignments): 35 * 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.0001895/0.3859, allocations: 178.2 kB / 1.364 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.386, allocations: 27.81 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.3867, allocations: 382 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3867, allocations: 4 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3868, allocations: 4 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3868, allocations: 3.984 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3871, allocations: 308.4 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3871, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3873, allocations: 59.97 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3873, allocations: 3.938 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3873, allocations: 11.98 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3873, allocations: 4 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3873, allocations: 4 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3878, allocations: 318.3 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.388, allocations: 71.69 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.388, allocations: 7.984 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3882, allocations: 13.55 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.3882, allocations: 27.94 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.3883, allocations: 19.94 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002448/0.3885, allocations: 240.4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3885, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003323/0.3888, allocations: 79.86 kB / 1.365 GB, free: 12.3 MB / 1.061 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 (34): * Single equations (assignments): 33 * 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.001619/0.3905, allocations: 463.5 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.3909, allocations: 219.6 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3909, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3911, allocations: 123.8 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3914, allocations: 37.86 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.3923, allocations: 0.5383 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3927, allocations: 0.7613 MB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3928, allocations: 51.41 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3928, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of Templates: time 0.007638/0.4005, allocations: 4.603 MB / 1.372 GB, free: 5.625 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.425017454021145]