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.001961/0.001961, 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.002378/0.002378, allocations: 161.7 kB / 23.55 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.575/1.575, allocations: 177.1 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.805/2.805, allocations: 359 MB / 0.6048 GB, free: 10.94 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.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.765e-06/2.765e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.636e-05, allocations: 8.672 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002598/0.002634, allocations: 0.6779 MB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.004813, allocations: 0.8405 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.004861, allocations: 4 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.004896, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.004994, allocations: 12.48 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.005233, allocations: 9.344 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.005341, allocations: 23.92 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005468, allocations: 11.98 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.005572, allocations: 11.98 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.005618, allocations: 4.828 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.005642, allocations: 4 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.005698, allocations: 4.562 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.005724, allocations: 8.625 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.00576, allocations: 8 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.00591, allocations: 32.72 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.005914, allocations: 4 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.005915, allocations: 0 / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.00592, allocations: 0.6562 kB / 0.7881 GB, free: 11.1 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.0006642/0.006585, allocations: 255.1 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.006641, allocations: 13.69 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.006795, allocations: 8.828 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.006957, allocations: 109.8 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.006973, allocations: 384 / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.006988, allocations: 4.375 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.007247, allocations: 47.58 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007258, allocations: 4.125 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.007272, allocations: 4.375 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.007281, allocations: 1.969 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.007565, allocations: 39.83 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.008071, allocations: 185.1 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.00828, allocations: 42.03 kB / 0.7887 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.008426, allocations: 28.89 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.008453, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.00851, allocations: 30.56 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.008511, allocations: 4 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005734/0.009084, allocations: 90.5 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.009161, allocations: 55.94 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009299, allocations: 101.8 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.009325, allocations: 26.58 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.009412, allocations: 80.14 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.009437, allocations: 8.766 kB / 0.7891 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.009488, allocations: 13.72 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.009743, allocations: 311.4 kB / 0.7895 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.009875, allocations: 21.34 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.009987, allocations: 15.98 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.01025, allocations: 42.05 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01025, allocations: 0.6562 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003002/0.01055, allocations: 66.38 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.01057, allocations: 5.125 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.01058, allocations: 3.938 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.0106, allocations: 0 / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01074, allocations: 12.8 kB / 0.7896 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01075, allocations: 2.219 kB / 0.7896 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.01082, allocations: 11.98 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.01083, allocations: 0 / 0.7896 GB, free: 9.328 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.0001522/0.01098, allocations: 109.8 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.01102, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.01137, allocations: 80.03 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.01138, allocations: 4 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.01138, allocations: 0 / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01139, allocations: 0 / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.01162, allocations: 105.2 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01162, allocations: 0 / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.01171, allocations: 7.984 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01171, allocations: 5.156 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01172, allocations: 8 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.01173, allocations: 3.938 kB / 0.7899 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01173, allocations: 0.5625 kB / 0.7899 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.01213, allocations: 164.5 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.01214, allocations: 9 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.01216, allocations: 0 / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01227, allocations: 12.8 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.01233, allocations: 4 kB / 0.7901 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.01233, allocations: 1.188 kB / 0.7901 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.01241, allocations: 79.28 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01241, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004013/0.01281, allocations: 4 kB / 0.7902 GB, free: 8.688 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 0.0001873/0.01299, allocations: 96.64 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.01331, allocations: 36.78 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01331, allocations: 0.9375 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01347, allocations: 29.12 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.01396, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.01446, allocations: 117.6 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.01455, allocations: 55.36 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.01458, allocations: 5.609 kB / 0.7905 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.01463, allocations: 8.5 kB / 0.7905 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01463, allocations: 4 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.004655/0.01928, allocations: 486.9 kB / 0.791 GB, free: 7.836 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.890115270041861]