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.0007837/0.0007837, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.001927, 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.0007068/0.0007068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009417/0.001648, 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.9202/0.9202, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09312/1.013, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.367/2.367, allocations: 447.1 MB / 0.675 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2222/2.589, allocations: 146 MB / 0.8176 GB, free: 3.777 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.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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8189 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.646e-06/9.938e-06, allocations: 2.312 kB / 0.8189 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001849/0.001859, allocations: 1.759 MB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003119, allocations: 1.438 MB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.003169, allocations: 4 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003286, allocations: 35.66 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.003517, allocations: 107.3 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.003725, allocations: 143.4 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.003959, allocations: 249.5 kB / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.004051, allocations: 19.95 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02534/0.02939, allocations: 10.22 MB / 0.8326 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.02952, allocations: 75.83 kB / 0.8327 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.02955, allocations: 16 kB / 0.8327 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.02968, allocations: 63.86 kB / 0.8327 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.02975, allocations: 71.8 kB / 0.8328 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.02981, allocations: 43.88 kB / 0.8328 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.03008, allocations: 215.1 kB / 0.833 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.03009, allocations: 0 / 0.833 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.03009, allocations: 0 / 0.833 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.03011, allocations: 0 / 0.833 GB, free: 7.66 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000583/0.03069, allocations: 492.3 kB / 0.8335 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.03072, allocations: 8.031 kB / 0.8335 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.03078, allocations: 32.91 kB / 0.8336 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.03101, allocations: 244.7 kB / 0.8338 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.03103, allocations: 12.7 kB / 0.8338 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.03105, allocations: 20.31 kB / 0.8338 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.03125, allocations: 223.7 kB / 0.834 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.03126, allocations: 192 / 0.834 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.03127, allocations: 8.125 kB / 0.834 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.03128, allocations: 4 kB / 0.834 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.03166, allocations: 491.3 kB / 0.8345 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.03222, allocations: 335 kB / 0.8348 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.0324, allocations: 133 kB / 0.835 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.03245, allocations: 49.39 kB / 0.835 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.03248, allocations: 20.2 kB / 0.835 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.03263, allocations: 119.5 kB / 0.8351 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 2.836e-06/0.03263, allocations: 3.984 kB / 0.8351 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.0002808/0.03291, allocations: 169.3 kB / 0.8353 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.03295, allocations: 63.27 kB / 0.8354 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.03306, allocations: 201 kB / 0.8356 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.03308, allocations: 29.7 kB / 0.8356 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.03312, allocations: 117.1 kB / 0.8357 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.03318, allocations: 119 kB / 0.8358 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.03323, allocations: 57.66 kB / 0.8359 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.03338, allocations: 342.8 kB / 0.8362 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.03342, allocations: 23.98 kB / 0.8362 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.0335, allocations: 127 kB / 0.8363 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.03362, allocations: 108.3 kB / 0.8364 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.03362, allocations: 0 / 0.8364 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001531/0.03378, allocations: 145.3 kB / 0.8366 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.03379, allocations: 11.75 kB / 0.8366 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.0338, allocations: 0 / 0.8366 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.03381, allocations: 0 / 0.8366 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.03397, allocations: 79.92 kB / 0.8367 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.03397, allocations: 0 / 0.8367 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.03404, allocations: 23.88 kB / 0.8367 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.03405, allocations: 4 kB / 0.8367 GB, free: 3.719 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 (37): * Single equations (assignments): 37 * 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.096e-05/0.03413, allocations: 136.5 kB / 0.8368 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.03416, allocations: 35.91 kB / 0.8369 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.03442, allocations: 226 kB / 0.8371 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03442, allocations: 4 kB / 0.8371 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.03442, allocations: 4 kB / 0.8371 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.03443, allocations: 0 / 0.8371 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.03457, allocations: 157.7 kB / 0.8372 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.03457, allocations: 4 kB / 0.8372 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.03468, allocations: 63.91 kB / 0.8373 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.03474, allocations: 59.64 kB / 0.8374 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.03474, allocations: 4 kB / 0.8374 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.03475, allocations: 7.984 kB / 0.8374 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.03475, allocations: 4 kB / 0.8374 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03476, allocations: 0 / 0.8374 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.0349, allocations: 174.3 kB / 0.8375 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.03493, allocations: 11.94 kB / 0.8375 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.03498, allocations: 8 kB / 0.8376 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.03501, allocations: 27.94 kB / 0.8376 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.03502, allocations: 12 kB / 0.8376 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.03507, allocations: 66.78 kB / 0.8377 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.03507, allocations: 3.938 kB / 0.8377 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001368/0.03521, allocations: 48 kB / 0.8377 GB, free: 2.621 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 (35): * Single equations (assignments): 33 * 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.001174/0.03638, allocations: 491.8 kB / 0.8382 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.03656, allocations: 136.6 kB / 0.8383 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.03657, allocations: 4 kB / 0.8383 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.03666, allocations: 101 kB / 0.8384 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.03683, allocations: 128.1 kB / 0.8385 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.03769, allocations: 414.8 kB / 0.8389 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.03773, allocations: 97.81 kB / 0.839 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00012/0.03785, allocations: 82.92 kB / 0.8391 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.03798, allocations: 111.3 kB / 0.8392 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.03798, allocations: 0 / 0.8392 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of Templates: time 0.004993/0.04297, allocations: 3.195 MB / 0.8423 GB, free: 14.07 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.2701105289161205]