Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.00133/0.00133, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001426/0.001426, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9391/0.9391, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.768/1.768, allocations: 359 MB / 0.6052 GB, free: 10.99 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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.091e-05, allocations: 4.562 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001381/0.001412, allocations: 0.6854 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.002226, allocations: 0.8718 MB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.002256, allocations: 0.5625 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.002285, allocations: 5.188 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.002345, allocations: 0 / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.002523, allocations: 11.98 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.002587, allocations: 29.5 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.002667, allocations: 7.922 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.002734, allocations: 11.98 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.00277, allocations: 11.98 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002786, allocations: 1.219 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.002828, allocations: 11.94 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.002843, allocations: 4 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.002862, allocations: 7.922 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.002978, allocations: 20.61 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.00298, allocations: 1.406 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.002982, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.002988, allocations: 0 / 0.7888 GB, free: 10.73 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.0004711/0.003459, allocations: 356.6 kB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.003507, allocations: 8.719 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.003635, allocations: 12.88 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.003734, allocations: 113.5 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.003747, allocations: 384 / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.003755, allocations: 1.031 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.003894, allocations: 54.89 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003901, allocations: 1.188 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.003915, allocations: 4.375 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.003923, allocations: 3.625 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.003964, allocations: 11.92 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.004275, allocations: 239.9 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.004334, allocations: 31.06 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.004357, allocations: 15.69 kB / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.004373, allocations: 0 / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.004392, allocations: 37.38 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.004393, allocations: 0 / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.004535, allocations: 54.25 kB / 0.7897 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.004562, allocations: 53.06 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.004629, allocations: 157.9 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.004638, allocations: 25.7 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.004678, allocations: 130.9 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.004693, allocations: 9.547 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.004716, allocations: 15.38 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.00482, allocations: 0.4923 MB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.004835, allocations: 3.938 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.004844, allocations: 1.344 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.00487, allocations: 15.69 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004871, allocations: 0 / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.318e-05/0.004925, allocations: 39.3 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004936, allocations: 4 kB / 0.7906 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.004941, allocations: 3.938 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.004953, allocations: 192 / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.005026, allocations: 9.641 kB / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.005031, allocations: 4 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.005048, allocations: 7.875 kB / 0.7906 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.005055, allocations: 3.984 kB / 0.7907 GB, free: 8.645 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 0.0001321/0.005187, allocations: 157.5 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.005199, allocations: 0 / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.005285, allocations: 49.47 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005287, allocations: 0.5312 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00529, allocations: 1.125 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.005294, allocations: 3.984 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/0.005386, allocations: 116.6 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.005387, allocations: 0.5625 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.005419, allocations: 12.52 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005421, allocations: 0 / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.005427, allocations: 1.375 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.00543, allocations: 7.938 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005431, allocations: 0 / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.00552, allocations: 189.1 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.005526, allocations: 3.984 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005535, allocations: 0 / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.005567, allocations: 12.81 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.0056, allocations: 0 / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.005603, allocations: 0 / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.005638, allocations: 132 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005638, allocations: 0 / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001361/0.005774, allocations: 4.938 kB / 0.7913 GB, free: 7.902 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.266e-05/0.005856, allocations: 92.59 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.005937, allocations: 19.62 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.005942, allocations: 0 / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.005959, allocations: 16.61 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.006141, allocations: 10.31 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.00657, allocations: 122.3 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.006605, allocations: 55.34 kB / 0.7916 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.006619, allocations: 3.438 kB / 0.7916 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.006646, allocations: 16.5 kB / 0.7916 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.006647, allocations: 0 / 0.7916 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.002162/0.008809, allocations: 0.4922 MB / 0.7921 GB, free: 7.047 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.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.880549571942538]