Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002284/0.002284, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001565/0.001565, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002012/0.002012, allocations: 69.8 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3862, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003173/0.3894, allocations: 1.657 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3916, allocations: 1.364 MB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.3917, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3919, allocations: 27.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.3923, allocations: 119.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.3926, allocations: 127.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.3929, allocations: 249.5 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3931, allocations: 15.98 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3932, allocations: 91.75 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3933, allocations: 87.77 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.3934, allocations: 20 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3936, allocations: 119.9 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3937, allocations: 87.69 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.3938, allocations: 87.52 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.3942, allocations: 330.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3942, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3942, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3942, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 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.000765/0.395, allocations: 0.4937 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.395, allocations: 16.02 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.3951, allocations: 28.75 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3954, allocations: 209.1 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3954, allocations: 12.38 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.3955, allocations: 20.31 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.3959, allocations: 298.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3959, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3959, allocations: 12 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3959, allocations: 7.984 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.3968, allocations: 0.6826 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.3976, allocations: 500 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.3981, allocations: 280.8 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3982, allocations: 93.38 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.3983, allocations: 16.27 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.3986, allocations: 180.8 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.3986, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0006752/0.3993, allocations: 365.3 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.3994, allocations: 140.5 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.3997, allocations: 308.9 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3997, allocations: 37.7 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.3998, allocations: 124.8 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3999, allocations: 123 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.4, allocations: 65.69 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4002, allocations: 338.8 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4003, allocations: 79.95 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.4006, allocations: 208.4 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.4009, allocations: 213 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4009, allocations: 0 / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000446/0.4013, allocations: 277.3 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4013, allocations: 12 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4014, allocations: 0 / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4014, allocations: 0 / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.4016, allocations: 63.91 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4016, allocations: 3.984 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.4017, allocations: 23.88 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4018, allocations: 16 kB / 1.336 GB, free: 7.184 MB / 1.029 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.0001649/0.4019, allocations: 165.7 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.402, allocations: 27.81 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/0.4027, allocations: 382 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4027, allocations: 4 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.4027, allocations: 11.88 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4027, allocations: 4 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.403, allocations: 241 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.403, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4031, allocations: 63.91 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4032, allocations: 0 / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4032, allocations: 11.98 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4032, allocations: 4 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4032, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.4037, allocations: 322.3 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4038, allocations: 63.69 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.4038, allocations: 16 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4039, allocations: 11.98 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.404, allocations: 23.95 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.404, allocations: 15.98 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002231/0.4043, allocations: 240.4 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4043, allocations: 0 / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003048/0.4046, allocations: 71.88 kB / 1.338 GB, free: 5.477 MB / 1.029 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.001656/0.4062, allocations: 0.4888 MB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4066, allocations: 223.6 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4066, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4068, allocations: 123.8 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.4071, allocations: 35 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/0.408, allocations: 0.5054 MB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4081, allocations: 154.8 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.4085, allocations: 142.9 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.4086, allocations: 47.41 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/0.4086, allocations: 0 / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of Templates: time 0.008869/0.4174, allocations: 3.635 MB / 1.343 GB, free: 304 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.264812788984273]