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.001718/0.001718, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00215/0.00215, allocations: 211.8 kB / 22.98 MB, free: 4.984 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002082/0.002082, allocations: 68.33 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3093, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003082/0.3124, allocations: 1.665 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3144, allocations: 1.352 MB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.3145, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3147, allocations: 31.78 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.3151, allocations: 111.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3154, allocations: 135.6 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.3157, allocations: 241.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3158, allocations: 19.97 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3159, allocations: 83.83 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3161, allocations: 95.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3162, allocations: 16 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3164, allocations: 123.9 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3165, allocations: 87.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.3166, allocations: 87.45 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.317, allocations: 330.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.317, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.317, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.317, allocations: 0 / 1.331 GB, free: 12.58 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.0008155/0.3178, allocations: 0.4897 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.3178, allocations: 15.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.3179, allocations: 28.75 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3182, allocations: 213.1 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3183, allocations: 12.38 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3183, allocations: 16.38 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3187, allocations: 298.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3187, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3188, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3188, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.3197, allocations: 0.6904 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.3205, allocations: 492.1 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.321, allocations: 284.8 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3212, allocations: 97.31 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.3212, allocations: 20.27 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.3216, allocations: 176.9 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3216, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007159/0.3223, allocations: 369.3 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.3224, allocations: 136.5 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.3227, allocations: 308.9 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.3228, allocations: 37.7 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.3229, allocations: 124.7 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.323, allocations: 122.9 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3231, allocations: 65.69 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3232, allocations: 346.8 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3234, allocations: 79.95 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3236, allocations: 196.5 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.324, allocations: 221 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.324, allocations: 0 / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004706/0.3244, allocations: 277.2 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3245, allocations: 8 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3245, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3245, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3247, allocations: 63.89 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3247, allocations: 4 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3249, allocations: 27.89 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.3249, allocations: 15.98 kB / 1.336 GB, free: 7.152 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.0001705/0.3251, allocations: 161.8 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.3251, allocations: 31.75 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007429/0.3259, allocations: 378.1 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3259, allocations: 4 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3259, allocations: 3.938 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3259, allocations: 3.984 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.3262, allocations: 245 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3262, allocations: 4 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.3264, allocations: 55.91 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3264, allocations: 4 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3264, allocations: 8 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3264, allocations: 4 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3264, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.3269, allocations: 330.2 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3271, allocations: 67.69 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3271, allocations: 8 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3273, allocations: 18.8 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3273, allocations: 23.95 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3274, allocations: 8 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002417/0.3276, allocations: 248.4 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 3.938 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003406/0.328, allocations: 75.86 kB / 1.338 GB, free: 5.441 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.001757/0.3297, allocations: 488.8 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3302, allocations: 231.6 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3302, allocations: 0 / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3304, allocations: 115.8 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3307, allocations: 32.42 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.3315, allocations: 0.5093 MB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.3317, allocations: 154.8 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003326/0.332, allocations: 146.9 kB / 1.34 GB, free: 3.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.3321, allocations: 39.42 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3321, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of Templates: time 0.008103/0.3402, allocations: 3.631 MB / 1.343 GB, free: 280 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 gbode -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: 8.72610510600498]