Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001706/0.001706, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.001997/0.001997, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.44/3.44, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.288e-05, allocations: 5.797 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003298/0.003321, allocations: 1.691 MB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.005702, allocations: 1.385 MB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.005758, allocations: 5.062 kB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.005942, allocations: 23.84 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.006356, allocations: 120.1 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.006762, allocations: 132.2 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.007122, allocations: 255.2 kB / 0.881 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.007217, allocations: 19.97 kB / 0.881 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.007384, allocations: 111.8 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.007597, allocations: 83.81 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.007643, allocations: 20.5 kB / 0.8812 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.007935, allocations: 117.6 kB / 0.8813 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.008066, allocations: 91.73 kB / 0.8814 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.008171, allocations: 67.75 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.008687, allocations: 358.7 kB / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00869, allocations: 0 / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.008691, allocations: 0.6875 kB / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008696, allocations: 0 / 0.8818 GB, free: 2.188 MB / 0.8386 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.0009443/0.00964, allocations: 0.5984 MB / 0.8824 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.009673, allocations: 9.625 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.009786, allocations: 40.75 kB / 0.8824 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.01015, allocations: 227.5 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.01017, allocations: 12.7 kB / 0.8827 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.0102, allocations: 16.38 kB / 0.8827 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.01065, allocations: 299.6 kB / 0.883 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.01065, allocations: 192 / 0.883 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.01068, allocations: 12.12 kB / 0.883 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01069, allocations: 4 kB / 0.883 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.01172, allocations: 0.6634 MB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01277, allocations: 0.5319 MB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.01329, allocations: 246.5 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01344, allocations: 76.22 kB / 0.8845 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.0135, allocations: 16.27 kB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.01379, allocations: 158.7 kB / 0.8846 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.0138, allocations: 4 kB / 0.8846 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0008416/0.01464, allocations: 331 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.01474, allocations: 136.5 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.01512, allocations: 328.3 kB / 0.8854 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.01515, allocations: 33.69 kB / 0.8854 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.0153, allocations: 179.5 kB / 0.8856 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.01543, allocations: 130.9 kB / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01556, allocations: 79.34 kB / 0.8858 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003228/0.01588, allocations: 0.5235 MB / 0.8863 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.01603, allocations: 59.97 kB / 0.8864 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.01632, allocations: 212.4 kB / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.01667, allocations: 184.8 kB / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.01668, allocations: 8 kB / 0.8867 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005201/0.0172, allocations: 253.2 kB / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.01722, allocations: 8 kB / 0.887 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01722, allocations: 0 / 0.887 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01724, allocations: 0 / 0.887 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.01752, allocations: 63.91 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.01752, allocations: 0 / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01768, allocations: 31.83 kB / 0.8871 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.01771, allocations: 8 kB / 0.8871 GB, free: 12.48 MB / 0.8542 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.0002263/0.01794, allocations: 188.4 kB / 0.8873 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.01803, allocations: 43.75 kB / 0.8873 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/0.01887, allocations: 336.8 kB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.01888, allocations: 8.031 kB / 0.8876 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01889, allocations: 0 / 0.8876 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.0189, allocations: 7.984 kB / 0.8876 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.01928, allocations: 248.4 kB / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01928, allocations: 0 / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.01949, allocations: 59.91 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.0195, allocations: 0 / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.01953, allocations: 11.98 kB / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01953, allocations: 8 kB / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01953, allocations: 0 / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.02017, allocations: 313.9 kB / 0.8883 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.02034, allocations: 67.69 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.0204, allocations: 8 kB / 0.8883 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.02052, allocations: 12 kB / 0.8883 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.02065, allocations: 35.8 kB / 0.8884 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.02068, allocations: 8 kB / 0.8884 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003149/0.02099, allocations: 233.1 kB / 0.8886 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02099, allocations: 0 / 0.8886 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003724/0.02136, allocations: 75.86 kB / 0.8887 GB, free: 10.78 MB / 0.8542 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.003026/0.02439, allocations: 493.9 kB / 0.8891 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.02489, allocations: 215.5 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.02489, allocations: 4 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.02511, allocations: 135.3 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.0254, allocations: 52.34 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.02631, allocations: 452.8 kB / 0.89 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.02648, allocations: 147.2 kB / 0.8901 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.02678, allocations: 138.8 kB / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.02688, allocations: 48.47 kB / 0.8903 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.02688, allocations: 0 / 0.8903 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of Templates: time 0.009173/0.03606, allocations: 3.433 MB / 0.8936 GB, free: 5.863 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.628102628979832]