Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001014/0.001014, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001077/0.001077, allocations: 166 kB / 24.87 MB, free: 9.258 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.94/0.94, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.413e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001143/0.001157, allocations: 0.6897 MB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.001905, allocations: 0.8833 MB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.001937, allocations: 1.062 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.00196, allocations: 0 / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.002021, allocations: 11.88 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.002156, allocations: 20.44 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.002219, allocations: 32.7 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.002301, allocations: 3.984 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.002369, allocations: 24.61 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002404, allocations: 15.92 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.002423, allocations: 5.156 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.00243, allocations: 4 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.002447, allocations: 7.984 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.002465, allocations: 8.562 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.78e-05/0.002532, allocations: 20.75 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002534, allocations: 3.938 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.01e-07/0.002534, allocations: 1.094 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002538, allocations: 0 / 0.7901 GB, free: 10.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003216/0.00286, allocations: 377.2 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.002892, allocations: 8.031 kB / 0.7904 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.002919, allocations: 7.656 kB / 0.7904 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.002989, allocations: 112.6 kB / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.002998, allocations: 4.375 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.003005, allocations: 384 / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.00311, allocations: 62.94 kB / 0.7906 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.003116, allocations: 4.125 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.003122, allocations: 384 / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.003126, allocations: 1.875 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.003149, allocations: 11.92 kB / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.003378, allocations: 244.4 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.003435, allocations: 35.66 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.003451, allocations: 16.55 kB / 0.7909 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.003462, allocations: 0 / 0.7909 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.003479, allocations: 38.17 kB / 0.7909 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.00348, allocations: 0 / 0.7909 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001117/0.003592, allocations: 42.67 kB / 0.791 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.003616, allocations: 51.41 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.003677, allocations: 167.3 kB / 0.7912 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.003688, allocations: 29.7 kB / 0.7912 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.00373, allocations: 126.9 kB / 0.7913 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.003744, allocations: 7.938 kB / 0.7914 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.003769, allocations: 21.19 kB / 0.7914 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.003889, allocations: 0.4884 MB / 0.7919 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.003912, allocations: 11.69 kB / 0.7919 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.003946, allocations: 57 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.003979, allocations: 13.22 kB / 0.7919 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00398, allocations: 0 / 0.7919 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.373e-05/0.004054, allocations: 45.64 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004066, allocations: 6.094 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004069, allocations: 5.844 kB / 0.792 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.004079, allocations: 3.938 kB / 0.792 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.004152, allocations: 8 kB / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004155, allocations: 0 / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.004191, allocations: 15.86 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.004197, allocations: 6.562 kB / 0.792 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.717e-05/0.004244, allocations: 130.9 kB / 0.7921 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.287e-05/0.004277, allocations: 49.06 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.033e-05/0.004297, allocations: 11.94 kB / 0.7922 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.004298, allocations: 0 / 0.7922 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 5.339e-05/0.004351, allocations: 34.23 kB / 0.7922 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.004357, allocations: 4.719 kB / 0.7922 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.21e-07/0.004358, allocations: 0 / 0.7922 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.00436, allocations: 4.531 kB / 0.7922 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.373e-05/0.004394, allocations: 17.55 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.004397, allocations: 3.938 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.004423, allocations: 4 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-06/0.004425, allocations: 0 / 0.7923 GB, free: 7.941 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.55e-05/0.004521, allocations: 268.7 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.004547, allocations: 8.641 kB / 0.7925 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.004566, allocations: 3.625 kB / 0.7925 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.004569, allocations: 4.625 kB / 0.7925 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.004572, allocations: 3.984 kB / 0.7925 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004575, allocations: 5.062 kB / 0.7925 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.004701, allocations: 101.2 kB / 0.7926 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004701, allocations: 0.625 kB / 0.7926 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.004736, allocations: 7.984 kB / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004737, allocations: 4.969 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004743, allocations: 0 / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004743, allocations: 0.8438 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004744, allocations: 0 / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.004865, allocations: 193.4 kB / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.004871, allocations: 0 / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.004881, allocations: 0 / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.00494, allocations: 7.984 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.004969, allocations: 8.938 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.004973, allocations: 7.875 kB / 0.7929 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.005019, allocations: 127.2 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.005019, allocations: 2.125 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002744/0.005294, allocations: 8 kB / 0.793 GB, free: 7.152 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.036e-05/0.005374, allocations: 91.25 kB / 0.7931 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.005474, allocations: 33.58 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005475, allocations: 3.938 kB / 0.7931 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.005498, allocations: 11.69 kB / 0.7931 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.005727, allocations: 8 kB / 0.7931 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.005942, allocations: 124.6 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.005977, allocations: 59.3 kB / 0.7933 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.005995, allocations: 0 / 0.7933 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.006043, allocations: 79.22 kB / 0.7934 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006044, allocations: 0 / 0.7934 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.001972/0.008016, allocations: 0.7362 MB / 0.7941 GB, free: 5.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.892592818941921]