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.001909/0.001909, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002392/0.002392, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.5/1.5, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.738/2.738, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 2.144e-06/2.144e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.797e-05/5.011e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004693/0.004743, allocations: 1.664 MB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.007324, allocations: 1.389 MB / 0.7894 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.007425, allocations: 0 / 0.7894 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.007716, allocations: 31.77 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.008277, allocations: 101 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.008717, allocations: 139.5 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.009115, allocations: 258.2 kB / 0.7899 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.009229, allocations: 12 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.009413, allocations: 120.6 kB / 0.79 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.009625, allocations: 87.8 kB / 0.7901 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.009669, allocations: 22.12 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.009913, allocations: 115.8 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.01004, allocations: 87.73 kB / 0.7903 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.01016, allocations: 63.83 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.01069, allocations: 358.7 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.0107, allocations: 0 / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.0107, allocations: 5 kB / 0.7907 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.0107, allocations: 0 / 0.7907 GB, free: 8.363 MB / 0.7448 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.0009482/0.01165, allocations: 495.4 kB / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01169, allocations: 8.031 kB / 0.7912 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.01181, allocations: 44.8 kB / 0.7912 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.01217, allocations: 216.8 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.0122, allocations: 10.64 kB / 0.7915 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.01224, allocations: 16.38 kB / 0.7915 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.01275, allocations: 305.5 kB / 0.7918 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01276, allocations: 192 / 0.7918 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.01279, allocations: 12.12 kB / 0.7918 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.0128, allocations: 6.281 kB / 0.7918 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.01383, allocations: 0.6868 MB / 0.7924 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.0149, allocations: 0.4925 MB / 0.7929 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.01551, allocations: 292.2 kB / 0.7932 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.0157, allocations: 97.91 kB / 0.7933 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/0.01577, allocations: 20.27 kB / 0.7933 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.01628, allocations: 174.6 kB / 0.7935 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.01629, allocations: 0 / 0.7935 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0009041/0.01719, allocations: 391.1 kB / 0.7939 GB, free: 5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.01732, allocations: 132.5 kB / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.01774, allocations: 319.1 kB / 0.7943 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.01778, allocations: 29.7 kB / 0.7943 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01791, allocations: 128.7 kB / 0.7944 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.01805, allocations: 123 kB / 0.7946 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.01817, allocations: 71.44 kB / 0.7946 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003537/0.01853, allocations: 338.8 kB / 0.795 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.0187, allocations: 79.95 kB / 0.795 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.01899, allocations: 210.3 kB / 0.7952 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.0194, allocations: 225.5 kB / 0.7954 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01941, allocations: 4 kB / 0.7954 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005704/0.01998, allocations: 301.6 kB / 0.7957 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01999, allocations: 8 kB / 0.7957 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02, allocations: 1.938 kB / 0.7957 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.02002, allocations: 0 / 0.7957 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.02027, allocations: 63.91 kB / 0.7958 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.02028, allocations: 4 kB / 0.7958 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.02045, allocations: 27.83 kB / 0.7958 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.02048, allocations: 18.36 kB / 0.7959 GB, free: 2.863 MB / 0.7448 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.0001989/0.02068, allocations: 165.7 kB / 0.796 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.02077, allocations: 35.86 kB / 0.796 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/0.02157, allocations: 383.7 kB / 0.7964 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.02158, allocations: 4.656 kB / 0.7964 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.02158, allocations: 0 / 0.7964 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.02159, allocations: 5.266 kB / 0.7964 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.02193, allocations: 237 kB / 0.7966 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.02193, allocations: 4 kB / 0.7967 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.02213, allocations: 57.12 kB / 0.7967 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.02213, allocations: 3.984 kB / 0.7967 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.02216, allocations: 15.97 kB / 0.7967 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.02217, allocations: 4.906 kB / 0.7967 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02217, allocations: 3.938 kB / 0.7967 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.02277, allocations: 342.4 kB / 0.7971 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.02291, allocations: 68.58 kB / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.02296, allocations: 8 kB / 0.7971 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.02311, allocations: 13.27 kB / 0.7971 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.02319, allocations: 27.95 kB / 0.7972 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.02321, allocations: 8 kB / 0.7972 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002809/0.02349, allocations: 245.9 kB / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02349, allocations: 0 / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003767/0.02387, allocations: 76.73 kB / 0.7975 GB, free: 1.137 MB / 0.7448 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.002164/0.02603, allocations: 0.4904 MB / 0.798 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.02652, allocations: 228.8 kB / 0.7982 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02653, allocations: 0 / 0.7982 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.02676, allocations: 119.8 kB / 0.7983 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.02707, allocations: 51.34 kB / 0.7983 GB, free: 472 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.0281, allocations: 0.5207 MB / 0.7989 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.02829, allocations: 152.8 kB / 0.799 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.02863, allocations: 147.5 kB / 0.7991 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.02875, allocations: 44.48 kB / 0.7992 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.02875, allocations: 0 / 0.7992 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.009157/0.03791, allocations: 3.45 MB / 0.8026 GB, free: 12.12 MB / 0.7605 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: 7.954252804978751]