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.001202/0.001202, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001085/0.001085, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9297/0.9297, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.792/1.792, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.664e-06/1.664e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.188e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002372/0.002404, allocations: 1.661 MB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003768, allocations: 1.378 MB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.003836, allocations: 0 / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.004072, allocations: 27.78 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.004429, allocations: 107.4 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.004695, allocations: 141.3 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.004941, allocations: 257.4 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005048, allocations: 16 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005161, allocations: 115.8 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.005316, allocations: 87.73 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.005343, allocations: 20 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.005501, allocations: 115.8 kB / 0.986 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.005591, allocations: 95.73 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.005659, allocations: 63.83 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.006081, allocations: 350.8 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006085, allocations: 0 / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.006086, allocations: 0 / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.006092, allocations: 4 kB / 0.9865 GB, free: 13.63 MB / 0.948 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.0006455/0.006737, allocations: 0.4901 MB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.006775, allocations: 11.97 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.006841, allocations: 32.75 kB / 0.987 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.007064, allocations: 212.8 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.007082, allocations: 12.7 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.007104, allocations: 20.38 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.007404, allocations: 297.5 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.007414, allocations: 192 / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.007433, allocations: 12.06 kB / 0.9876 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.007439, allocations: 8 kB / 0.9876 GB, free: 12.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.007969, allocations: 0.7023 MB / 0.9883 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.008628, allocations: 492.4 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.008989, allocations: 292.8 kB / 0.989 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.009092, allocations: 93.88 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.00913, allocations: 20.27 kB / 0.9891 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.009413, allocations: 176.9 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.009415, allocations: 0 / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0005002/0.009915, allocations: 377.6 kB / 0.9896 GB, free: 10.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.009991, allocations: 140.5 kB / 0.9898 GB, free: 10.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01021, allocations: 317.7 kB / 0.9901 GB, free: 9.785 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.01023, allocations: 29.7 kB / 0.9901 GB, free: 9.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.01031, allocations: 132.7 kB / 0.9902 GB, free: 9.617 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.01038, allocations: 119 kB / 0.9903 GB, free: 9.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.01045, allocations: 73.62 kB / 0.9904 GB, free: 9.422 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.01054, allocations: 338.8 kB / 0.9907 GB, free: 9.082 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01065, allocations: 83.7 kB / 0.9908 GB, free: 9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.0108, allocations: 210 kB / 0.991 GB, free: 8.766 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.01103, allocations: 217.1 kB / 0.9912 GB, free: 8.551 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01104, allocations: 4 kB / 0.9912 GB, free: 8.547 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003166/0.01135, allocations: 296.8 kB / 0.9915 GB, free: 8.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01137, allocations: 4 kB / 0.9915 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01138, allocations: 0 / 0.9915 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01139, allocations: 4 kB / 0.9915 GB, free: 8.242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.01154, allocations: 63.91 kB / 0.9916 GB, free: 8.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01155, allocations: 0 / 0.9916 GB, free: 8.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.01163, allocations: 23.88 kB / 0.9916 GB, free: 8.156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01165, allocations: 15.98 kB / 0.9916 GB, free: 8.141 MB / 0.948 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.00012/0.01177, allocations: 169.7 kB / 0.9918 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.0118, allocations: 31.81 kB / 0.9918 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.01225, allocations: 384.7 kB / 0.9922 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01225, allocations: 4 kB / 0.9922 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.01226, allocations: 0 / 0.9922 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01227, allocations: 3.984 kB / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.01246, allocations: 237 kB / 0.9924 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01246, allocations: 0 / 0.9924 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01257, allocations: 63.84 kB / 0.9925 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01258, allocations: 4 kB / 0.9925 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01259, allocations: 11.98 kB / 0.9925 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01259, allocations: 0 / 0.9925 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01259, allocations: 0 / 0.9925 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01291, allocations: 339.3 kB / 0.9928 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.01299, allocations: 67.69 kB / 0.9929 GB, free: 6.789 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01302, allocations: 8 kB / 0.9929 GB, free: 6.781 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01309, allocations: 15.98 kB / 0.9929 GB, free: 6.766 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.01314, allocations: 23.95 kB / 0.9929 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01315, allocations: 12 kB / 0.9929 GB, free: 6.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001458/0.0133, allocations: 245.2 kB / 0.9932 GB, free: 6.492 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0133, allocations: 0 / 0.9932 GB, free: 6.492 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002257/0.01352, allocations: 79.8 kB / 0.9932 GB, free: 6.414 MB / 0.948 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.001007/0.01453, allocations: 0.4962 MB / 0.9937 GB, free: 6.102 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.01482, allocations: 231.8 kB / 0.9939 GB, free: 5.875 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01482, allocations: 0 / 0.9939 GB, free: 5.875 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.01494, allocations: 119.8 kB / 0.9941 GB, free: 5.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.01514, allocations: 32.44 kB / 0.9941 GB, free: 5.723 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.01578, allocations: 0.5439 MB / 0.9946 GB, free: 5.145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.854e-05/0.01587, allocations: 150.7 kB / 0.9948 GB, free: 4.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.01596, allocations: 52.48 kB / 0.9948 GB, free: 4.93 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.01596, allocations: 7.938 kB / 0.9948 GB, free: 4.922 MB / 0.948 GB Notification: Performance of Templates: time 0.005024/0.02098, allocations: 4.724 MB / 0.9994 GB, free: 212 kB / 0.948 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: 7.068431311286986]