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.001378/0.001378, allocations: 79.78 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.001539/0.001539, allocations: 164 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.873/2.873, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.431e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00304/0.003074, allocations: 1.658 MB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005262, allocations: 1.371 MB / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.005322, allocations: 0 / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.00553, allocations: 23.78 kB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.005957, allocations: 111.3 kB / 0.9845 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.006342, allocations: 150.5 kB / 0.9847 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.006678, allocations: 245.6 kB / 0.9849 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.006777, allocations: 15.98 kB / 0.9849 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.006941, allocations: 123.7 kB / 0.985 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.007136, allocations: 83.81 kB / 0.9851 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.007185, allocations: 20 kB / 0.9851 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.007406, allocations: 119.8 kB / 0.9852 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.007537, allocations: 95.72 kB / 0.9853 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.007639, allocations: 71.77 kB / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.008129, allocations: 354.8 kB / 0.9857 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.008133, allocations: 4 kB / 0.9857 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.008134, allocations: 0 / 0.9857 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.008139, allocations: 0 / 0.9857 GB, free: 7.516 MB / 0.9356 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.000925/0.009064, allocations: 494 kB / 0.9862 GB, free: 7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009104, allocations: 8.031 kB / 0.9862 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.009194, allocations: 32.75 kB / 0.9863 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.009529, allocations: 212.8 kB / 0.9865 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.009554, allocations: 16.7 kB / 0.9865 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.009592, allocations: 16.38 kB / 0.9865 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.01009, allocations: 301.5 kB / 0.9868 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01011, allocations: 4.188 kB / 0.9868 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.01014, allocations: 12.06 kB / 0.9868 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01015, allocations: 4 kB / 0.9868 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.01114, allocations: 0.6946 MB / 0.9875 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.01209, allocations: 0.4886 MB / 0.988 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.01263, allocations: 284.8 kB / 0.9882 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.01282, allocations: 97.36 kB / 0.9883 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.005e-05/0.01288, allocations: 20.27 kB / 0.9883 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.01327, allocations: 176.3 kB / 0.9885 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.01327, allocations: 4 kB / 0.9885 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0007375/0.01401, allocations: 379.1 kB / 0.9889 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.01413, allocations: 136.5 kB / 0.989 GB, free: 4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.0145, allocations: 309.7 kB / 0.9893 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.01455, allocations: 33.7 kB / 0.9893 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01466, allocations: 124.7 kB / 0.9895 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.01477, allocations: 123 kB / 0.9896 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.01488, allocations: 73.67 kB / 0.9896 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01504, allocations: 338.8 kB / 0.99 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.0152, allocations: 79.95 kB / 0.99 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.01546, allocations: 213.8 kB / 0.9902 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.01591, allocations: 221.7 kB / 0.9905 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01591, allocations: 0 / 0.9905 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005209/0.01643, allocations: 300.9 kB / 0.9907 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.01645, allocations: 10.48 kB / 0.9907 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01646, allocations: 0 / 0.9907 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01648, allocations: 0 / 0.9907 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.01674, allocations: 63.91 kB / 0.9908 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.01675, allocations: 4 kB / 0.9908 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01691, allocations: 23.88 kB / 0.9908 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.01694, allocations: 16 kB / 0.9909 GB, free: 2.035 MB / 0.9356 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.0001907/0.01713, allocations: 165.7 kB / 0.991 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.01719, allocations: 31.8 kB / 0.991 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007497/0.01794, allocations: 392.8 kB / 0.9914 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01794, allocations: 0 / 0.9914 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.01795, allocations: 4 kB / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01796, allocations: 0 / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01825, allocations: 245 kB / 0.9917 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01825, allocations: 3.938 kB / 0.9917 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.01844, allocations: 51.97 kB / 0.9917 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01844, allocations: 4 kB / 0.9917 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.01846, allocations: 15.94 kB / 0.9917 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01847, allocations: 7.984 kB / 0.9917 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01847, allocations: 0 / 0.9917 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.01899, allocations: 322 kB / 0.992 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.01911, allocations: 71.69 kB / 0.9921 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.01916, allocations: 4 kB / 0.9921 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.0193, allocations: 18.23 kB / 0.9921 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.01938, allocations: 27.95 kB / 0.9922 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.01941, allocations: 11.98 kB / 0.9922 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002388/0.01964, allocations: 245.2 kB / 0.9924 GB, free: 396 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01964, allocations: 0 / 0.9924 GB, free: 396 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003441/0.01999, allocations: 75.88 kB / 0.9925 GB, free: 320 kB / 0.9356 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.00177/0.02176, allocations: 497.6 kB / 0.9929 GB, free: 4 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.02223, allocations: 232.2 kB / 0.9932 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02223, allocations: 3.938 kB / 0.9932 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.02244, allocations: 127.8 kB / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.02274, allocations: 34.61 kB / 0.9933 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.02365, allocations: 0.5066 MB / 0.9938 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.02381, allocations: 154.7 kB / 0.994 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.02414, allocations: 146.8 kB / 0.9941 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02425, allocations: 44.48 kB / 0.9942 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.02425, allocations: 0 / 0.9942 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.008681/0.03293, allocations: 3.425 MB / 0.9975 GB, free: 11.33 MB / 0.9512 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/jenkins/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: 8.171970285475254]