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.001628/0.001628, allocations: 110.2 kB / 19.69 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.001966/0.001966, allocations: 217.8 kB / 23.01 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.23 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.188/3.188, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.00216/0.00216, allocations: 71.89 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003179/0.3859, allocations: 1.697 MB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.388, allocations: 1.387 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.3881, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3883, allocations: 27.78 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.3887, allocations: 107.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3891, allocations: 133.9 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.3894, allocations: 253.5 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3895, allocations: 15.94 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3896, allocations: 83.81 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3899, allocations: 99.7 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.3899, allocations: 20 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3901, allocations: 127.9 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3902, allocations: 87.73 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3903, allocations: 103.4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.3908, allocations: 330.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3908, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3908, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3908, allocations: 3.938 kB / 1.331 GB, free: 12.95 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.0008375/0.3916, allocations: 0.4976 MB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3917, allocations: 8.031 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.3917, allocations: 28.75 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3921, allocations: 213.1 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3921, allocations: 12.38 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3921, allocations: 16.38 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.3925, allocations: 217.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3925, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3925, allocations: 11.94 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3925, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.3935, allocations: 0.7373 MB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.3944, allocations: 0.5463 MB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.3949, allocations: 284.1 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3951, allocations: 97.38 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.3951, allocations: 20.25 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.3955, allocations: 172.9 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3955, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007133/0.3962, allocations: 373.2 kB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3963, allocations: 136.5 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.3967, allocations: 312.9 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3967, allocations: 33.7 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3968, allocations: 124.8 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3969, allocations: 123 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.397, allocations: 61.69 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3972, allocations: 342.8 kB / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3973, allocations: 83.95 kB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3975, allocations: 127.4 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3979, allocations: 217 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3979, allocations: 3.938 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004704/0.3984, allocations: 281.2 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3984, allocations: 8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3984, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3984, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3986, allocations: 67.84 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3986, allocations: 0 / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3988, allocations: 31.81 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3988, allocations: 16 kB / 1.336 GB, free: 7.566 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.0001747/0.399, allocations: 157.8 kB / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3991, allocations: 35.78 kB / 1.337 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.3998, allocations: 378.1 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3998, allocations: 4 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3998, allocations: 0 / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3998, allocations: 3.938 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.4001, allocations: 304.4 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4001, allocations: 0 / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4003, allocations: 59.91 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4003, allocations: 4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4003, allocations: 15.98 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4003, allocations: 0 / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4003, allocations: 4 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.4009, allocations: 326.2 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.401, allocations: 63.69 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.401, allocations: 15.98 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4012, allocations: 12 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.4012, allocations: 23.95 kB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.4013, allocations: 19.92 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00024/0.4015, allocations: 244.4 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4015, allocations: 0 / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003189/0.4018, allocations: 67.88 kB / 1.338 GB, free: 5.789 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.001602/0.4034, allocations: 472.4 kB / 1.339 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.4038, allocations: 219.6 kB / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4038, allocations: 0 / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4041, allocations: 123.8 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4043, allocations: 37.73 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.4053, allocations: 0.5422 MB / 1.34 GB, free: 4.539 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.4058, allocations: 0.7613 MB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.4059, allocations: 51.41 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4059, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of Templates: time 0.007772/0.4136, allocations: 4.612 MB / 1.345 GB, free: 15.09 MB / 1.045 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 -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: 11.841458957002033]