Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001864/0.001864, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002474/0.002474, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.505/1.505, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.736/2.736, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.998e-05, allocations: 4.672 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003127/0.003157, allocations: 1.658 MB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005345, allocations: 1.359 MB / 0.9539 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.005427, allocations: 0 / 0.9539 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.005681, allocations: 35.72 kB / 0.954 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.006193, allocations: 112.5 kB / 0.9541 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.006611, allocations: 138.8 kB / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.006963, allocations: 253.5 kB / 0.9545 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007073, allocations: 12 kB / 0.9545 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.007231, allocations: 115.8 kB / 0.9546 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.007425, allocations: 91.73 kB / 0.9547 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.007471, allocations: 24 kB / 0.9547 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.007703, allocations: 115.8 kB / 0.9548 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.007822, allocations: 91.73 kB / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.983e-05/0.007922, allocations: 59.83 kB / 0.9549 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.008418, allocations: 358.8 kB / 0.9553 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.008425, allocations: 3.984 kB / 0.9553 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.008426, allocations: 0 / 0.9553 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.008436, allocations: 0 / 0.9553 GB, free: 7.125 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000893/0.009329, allocations: 0.4901 MB / 0.9558 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.009368, allocations: 8.031 kB / 0.9558 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.009453, allocations: 36.75 kB / 0.9558 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.009766, allocations: 216.8 kB / 0.956 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.009781, allocations: 8.703 kB / 0.956 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.009816, allocations: 20.38 kB / 0.956 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.01027, allocations: 301.5 kB / 0.9563 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01028, allocations: 192 / 0.9563 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.0103, allocations: 8.125 kB / 0.9563 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.01031, allocations: 4 kB / 0.9563 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.01125, allocations: 0.6946 MB / 0.957 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.01221, allocations: 488.4 kB / 0.9575 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.01277, allocations: 304.2 kB / 0.9578 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.01294, allocations: 93.38 kB / 0.9579 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.01299, allocations: 16.27 kB / 0.9579 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.0134, allocations: 167.6 kB / 0.958 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.0134, allocations: 0 / 0.958 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0007781/0.01418, allocations: 382.8 kB / 0.9584 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.01427, allocations: 132.5 kB / 0.9585 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.01464, allocations: 321.7 kB / 0.9588 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.01468, allocations: 29.7 kB / 0.9589 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01479, allocations: 140.7 kB / 0.959 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.0149, allocations: 115 kB / 0.9591 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.01501, allocations: 69.69 kB / 0.9592 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.01519, allocations: 338.8 kB / 0.9595 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.01535, allocations: 79.95 kB / 0.9596 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.01562, allocations: 213.8 kB / 0.9598 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.01599, allocations: 220.4 kB / 0.96 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01599, allocations: 0 / 0.96 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004993/0.01649, allocations: 293.5 kB / 0.9603 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01651, allocations: 7.938 kB / 0.9603 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01651, allocations: 0 / 0.9603 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.01653, allocations: 8 kB / 0.9603 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.01676, allocations: 67.91 kB / 0.9604 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01677, allocations: 0 / 0.9604 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.01693, allocations: 27.81 kB / 0.9604 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.01695, allocations: 11.98 kB / 0.9604 GB, free: 1.641 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (37): * Single equations (assignments): 37 * 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.0001892/0.01714, allocations: 165.7 kB / 0.9605 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.0172, allocations: 31.81 kB / 0.9606 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.01795, allocations: 393.7 kB / 0.961 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.01796, allocations: 8.031 kB / 0.961 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01796, allocations: 0 / 0.961 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.01797, allocations: 3.984 kB / 0.961 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.01827, allocations: 241 kB / 0.9612 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01827, allocations: 0 / 0.9612 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.01845, allocations: 59.97 kB / 0.9613 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01846, allocations: 3.938 kB / 0.9613 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.01848, allocations: 11.98 kB / 0.9613 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01848, allocations: 0 / 0.9613 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.01849, allocations: 4 kB / 0.9613 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.019, allocations: 322 kB / 0.9616 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.01913, allocations: 71.69 kB / 0.9616 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.01917, allocations: 12 kB / 0.9617 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.01931, allocations: 15.98 kB / 0.9617 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.01938, allocations: 23.95 kB / 0.9617 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.01941, allocations: 15.94 kB / 0.9617 GB, free: 232 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002571/0.01966, allocations: 245.3 kB / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.01966, allocations: 0 / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003305/0.01999, allocations: 71.86 kB / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001707/0.0217, allocations: 0.4897 MB / 0.9625 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.02217, allocations: 227.4 kB / 0.9627 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.02217, allocations: 0 / 0.9627 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.02239, allocations: 132.1 kB / 0.9628 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.02268, allocations: 40.36 kB / 0.9629 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.0236, allocations: 0.5109 MB / 0.9634 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.02377, allocations: 146.7 kB / 0.9635 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.02411, allocations: 154.8 kB / 0.9637 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.02422, allocations: 48.47 kB / 0.9637 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.02422, allocations: 0 / 0.9637 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.008629/0.03285, allocations: 3.414 MB / 0.967 GB, free: 10.93 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.09516416862607]