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.001466/0.001466, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001629/0.001629, allocations: 161.5 kB / 22.46 MB, free: 5.375 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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 2.96/2.96, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.599e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003712/0.003748, allocations: 1.671 MB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.006108, allocations: 1.363 MB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.006223, allocations: 0 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.006561, allocations: 23.8 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.007096, allocations: 111.4 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.007589, allocations: 144.1 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.007999, allocations: 253.5 kB / 1.004 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.008118, allocations: 15.97 kB / 1.004 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.008351, allocations: 127.7 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.008602, allocations: 79.83 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.008655, allocations: 16 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.008915, allocations: 119.8 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.009054, allocations: 87.73 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.009169, allocations: 67.81 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.00982, allocations: 358.8 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.009825, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.009826, allocations: 4 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.009842, allocations: 0 / 1.004 GB, free: 2.855 MB / 0.9512 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.0009831/0.01082, allocations: 489.9 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01087, allocations: 12.03 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.01096, allocations: 28.75 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01141, allocations: 220.8 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.01143, allocations: 12.7 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.01147, allocations: 12.38 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.012, allocations: 301.5 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01201, allocations: 4.172 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01205, allocations: 16.12 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.01205, allocations: 4 kB / 1.006 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.01305, allocations: 0.6906 MB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.01413, allocations: 0.4886 MB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.01475, allocations: 288.8 kB / 1.007 GB, free: 188 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.01493, allocations: 97.38 kB / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.01498, allocations: 12.27 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.01543, allocations: 188.5 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 4.048e-06/0.01543, allocations: 4 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0008057/0.01624, allocations: 381 kB / 1.008 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.01635, allocations: 136.5 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.01671, allocations: 309.7 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.01676, allocations: 37.7 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01687, allocations: 124.8 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.01697, allocations: 115 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.01709, allocations: 65.69 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01726, allocations: 338.8 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.01744, allocations: 87.89 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.01769, allocations: 208.5 kB / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.01808, allocations: 226.7 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01809, allocations: 0 / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005198/0.01861, allocations: 285.6 kB / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01862, allocations: 8 kB / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.01863, allocations: 3.984 kB / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01865, allocations: 0 / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.01888, allocations: 63.91 kB / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01889, allocations: 0 / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.01906, allocations: 31.83 kB / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.0191, allocations: 15.98 kB / 1.01 GB, free: 13.38 MB / 0.9669 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 0.0002466/0.01934, allocations: 169.7 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.01941, allocations: 23.86 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/0.02031, allocations: 390 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.02032, allocations: 4 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.02032, allocations: 0 / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.02033, allocations: 3.984 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.02069, allocations: 245 kB / 1.01 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.02069, allocations: 0 / 1.01 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.02088, allocations: 51.92 kB / 1.01 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.02089, allocations: 3.984 kB / 1.01 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.02092, allocations: 11.94 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.02092, allocations: 4 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02093, allocations: 4 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.02156, allocations: 338 kB / 1.011 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.0217, allocations: 71.67 kB / 1.011 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.02175, allocations: 8 kB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.0219, allocations: 19.5 kB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.02198, allocations: 23.95 kB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.02201, allocations: 15.92 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000267/0.02228, allocations: 241.2 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02228, allocations: 0 / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003804/0.02266, allocations: 83.81 kB / 1.011 GB, free: 11.65 MB / 0.9669 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.001851/0.02451, allocations: 495.1 kB / 1.012 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.02501, allocations: 231.4 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02501, allocations: 0 / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.02523, allocations: 119.9 kB / 1.012 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.0255, allocations: 40.42 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.02641, allocations: 0.507 MB / 1.013 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.02659, allocations: 150.7 kB / 1.013 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.02692, allocations: 146.8 kB / 1.013 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.02703, allocations: 44.47 kB / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of SimCode: time 6.12e-07/0.02704, allocations: 0 / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.008892/0.03593, allocations: 3.424 MB / 1.016 GB, free: 6.668 MB / 0.9669 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/jenkins/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: 8.65539501234889]