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.001777/0.001777, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001976/0.001976, allocations: 215.7 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.153/3.153, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.002134/0.002134, allocations: 72.86 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3301, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003214/0.3333, allocations: 1.653 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3356, allocations: 1.364 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.3357, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3359, allocations: 31.78 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.3363, allocations: 107.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.3367, allocations: 131.7 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.337, allocations: 245.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.3371, allocations: 19.98 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3372, allocations: 83.81 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3374, allocations: 93.02 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.3375, allocations: 16 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.3377, allocations: 119.9 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3378, allocations: 87.73 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3379, allocations: 87.45 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3384, allocations: 322.6 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3384, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3384, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3384, allocations: 3.938 kB / 1.331 GB, free: 13.49 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.000864/0.3393, allocations: 0.4937 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3393, allocations: 12.03 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3394, allocations: 28.75 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3397, allocations: 209.1 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3398, allocations: 12.36 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3398, allocations: 16.38 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.3403, allocations: 302.3 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3403, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3403, allocations: 8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3403, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/0.3412, allocations: 0.6865 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3421, allocations: 0.4883 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.3426, allocations: 288.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3428, allocations: 89.38 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.3428, allocations: 24.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.3432, allocations: 180.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.206e-05/0.3432, allocations: 3.984 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007335/0.344, allocations: 369.2 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3441, allocations: 140.5 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.3444, allocations: 308.9 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3445, allocations: 33.7 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3446, allocations: 120.8 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.3447, allocations: 123 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3448, allocations: 65.69 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.345, allocations: 346.7 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3451, allocations: 75.95 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.3454, allocations: 200.5 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3458, allocations: 225 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3458, allocations: 0 / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004792/0.3462, allocations: 277.3 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3463, allocations: 10.03 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3463, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3463, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3465, allocations: 59.91 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3465, allocations: 0 / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.3467, allocations: 27.88 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.3467, allocations: 15.98 kB / 1.336 GB, free: 8.055 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.0002268/0.3469, allocations: 165.7 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.347, allocations: 31.81 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.3478, allocations: 370.1 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3478, allocations: 8 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3479, allocations: 0 / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3479, allocations: 3.984 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.3482, allocations: 240.9 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3482, allocations: 0 / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.3484, allocations: 59.97 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3484, allocations: 0 / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.3484, allocations: 15.98 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3485, allocations: 4 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3485, allocations: 3.938 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.349, allocations: 330.2 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3492, allocations: 71.69 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3492, allocations: 8 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3494, allocations: 15.92 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3494, allocations: 27.95 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3495, allocations: 8 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002699/0.3497, allocations: 244.4 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003662/0.3501, allocations: 75.86 kB / 1.337 GB, free: 6.344 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.001876/0.352, allocations: 488.7 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.3525, allocations: 223.6 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3525, allocations: 0 / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3527, allocations: 123.8 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.353, allocations: 32.42 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.354, allocations: 0.5422 MB / 1.339 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3542, allocations: 150.9 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3543, allocations: 47.41 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3543, allocations: 8 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of Templates: time 0.008066/0.3624, allocations: 4.662 MB / 1.343 GB, free: 232 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 -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: 12.027078331913799]