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.001364/0.001364, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001466/0.001466, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.881/2.881, allocations: 0.49 GB / 0.7923 GB, free: 1.398 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.002119/0.002119, allocations: 71.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9267/0.9289, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002791/0.9316, allocations: 1.685 MB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.9332, allocations: 1.298 MB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.9333, allocations: 0 / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.9335, allocations: 31.36 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.9339, allocations: 112.4 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.9342, allocations: 140.1 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.9344, allocations: 245.3 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.9345, allocations: 15.39 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.9346, allocations: 88 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.9348, allocations: 97.81 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.9348, allocations: 17.59 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.935, allocations: 129.1 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.9351, allocations: 82.62 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.9352, allocations: 107.2 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.9355, allocations: 333.4 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9355, allocations: 6.875 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9355, allocations: 3.938 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9355, allocations: 0 / 1.326 GB, free: 22.3 MB / 1.061 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.0006466/0.9361, allocations: 0.5566 MB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.9362, allocations: 12.58 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.9362, allocations: 34.41 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.9365, allocations: 272.5 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.9365, allocations: 10.94 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.9365, allocations: 13.94 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.9369, allocations: 220.1 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9369, allocations: 3.938 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.9369, allocations: 6.219 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9369, allocations: 3.625 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.9378, allocations: 0.7433 MB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.9386, allocations: 0.5638 MB / 1.329 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.9391, allocations: 279.6 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.9392, allocations: 96.59 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.9393, allocations: 25.3 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.9397, allocations: 177.2 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.9397, allocations: 0.7188 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0007234/0.9404, allocations: 374.4 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.9404, allocations: 134.3 kB / 1.33 GB, free: 20.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.9407, allocations: 309.8 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9408, allocations: 35.98 kB / 1.33 GB, free: 20.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.9408, allocations: 131.5 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.9409, allocations: 111.4 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.941, allocations: 65.84 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.9411, allocations: 341.9 kB / 1.331 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.9412, allocations: 85.34 kB / 1.331 GB, free: 19.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.9414, allocations: 123.2 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.9417, allocations: 222.5 kB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9417, allocations: 5.156 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004545/0.9422, allocations: 281.1 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9422, allocations: 5.156 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9422, allocations: 4.469 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9422, allocations: 1.812 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.9424, allocations: 59.95 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9425, allocations: 1.453 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.9426, allocations: 31.39 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.9427, allocations: 12.11 kB / 1.331 GB, free: 19.26 MB / 1.061 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.000137/0.9428, allocations: 165.1 kB / 1.332 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.9429, allocations: 29.48 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.9436, allocations: 372.9 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9436, allocations: 3.75 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.9436, allocations: 1.156 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.9436, allocations: 5.906 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.9439, allocations: 340.3 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9439, allocations: 0 / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.9441, allocations: 57.56 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9441, allocations: 1.406 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.9441, allocations: 11.34 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9441, allocations: 4.703 kB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9441, allocations: 1.188 kB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.9446, allocations: 328.5 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.9447, allocations: 145.7 kB / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.9448, allocations: 11.98 kB / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.9449, allocations: 12.94 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.945, allocations: 25.27 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.945, allocations: 19.48 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002231/0.9452, allocations: 242.1 kB / 1.333 GB, free: 18.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9452, allocations: 0 / 1.333 GB, free: 18.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000344/0.9456, allocations: 74.66 kB / 1.333 GB, free: 18.21 MB / 1.061 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.001559/0.9471, allocations: 463.1 kB / 1.334 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.9476, allocations: 223.1 kB / 1.334 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9476, allocations: 4.531 kB / 1.334 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.9479, allocations: 118.3 kB / 1.334 GB, free: 17.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.9482, allocations: 40.06 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.9491, allocations: 0.5455 MB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.9493, allocations: 0.7594 MB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.9494, allocations: 54.89 kB / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9494, allocations: 0 / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of Templates: time 0.007884/0.9573, allocations: 4.6 MB / 1.34 GB, free: 16.28 MB / 1.061 GB " [Timeout remaining time 299] 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.9789744370064]