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.001972/0.001972, allocations: 87.69 kB / 20.23 MB, free: 4.184 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.002035/0.002035, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.92/2.92, allocations: 359 MB / 0.6048 GB, free: 10.96 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 3.036e-06/3.036e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.681e-05, allocations: 5.703 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.002773/0.00281, allocations: 0.6627 MB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.004563, allocations: 0.8554 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.004596, allocations: 1.219 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.00462, allocations: 3.938 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.004685, allocations: 0 / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004861, allocations: 20.53 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.004934, allocations: 27.92 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.005015, allocations: 0.875 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.005097, allocations: 15.92 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.005137, allocations: 13.02 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005155, allocations: 4 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.153e-05/0.005196, allocations: 4 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.005209, allocations: 0.6875 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.005234, allocations: 8.891 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.005349, allocations: 31.83 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.005354, allocations: 4 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005356, allocations: 0.6562 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.00536, allocations: 0 / 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.00053/0.00589, allocations: 355.9 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.005933, allocations: 12.03 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.006061, allocations: 8.828 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.006189, allocations: 112.6 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.006202, allocations: 384 / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.006216, allocations: 8.312 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.0064, allocations: 46.23 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.006411, allocations: 192 / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.00642, allocations: 1.094 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006425, allocations: 384 / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.00655, allocations: 25.58 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.006966, allocations: 251.8 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.00709, allocations: 39 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.007157, allocations: 21.08 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.00718, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.007224, allocations: 41.39 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.007225, allocations: 1.594 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003113/0.007536, allocations: 69.56 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.007585, allocations: 51.41 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.00772, allocations: 166.7 kB / 0.7892 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.007741, allocations: 25.7 kB / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.007827, allocations: 136.6 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.007845, allocations: 7.891 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.007889, allocations: 19.38 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002558/0.008145, allocations: 496.1 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.008201, allocations: 12.61 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.00826, allocations: 12.69 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.008364, allocations: 28.27 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008366, allocations: 1.094 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.008528, allocations: 57.67 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.008542, allocations: 4.531 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008549, allocations: 5.219 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008561, allocations: 3.938 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.008635, allocations: 4 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.008643, allocations: 5.094 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.008681, allocations: 7.984 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.008686, allocations: 0 / 0.79 GB, free: 8.91 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.0001116/0.008798, allocations: 157.5 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.008821, allocations: 0 / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.00901, allocations: 65.83 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009012, allocations: 1.031 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.009015, allocations: 4 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009017, allocations: 0 / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.009189, allocations: 117.4 kB / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.00919, allocations: 0 / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.009238, allocations: 4.938 kB / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00924, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.009247, allocations: 3.938 kB / 0.7903 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.009251, allocations: 9.156 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009252, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.009502, allocations: 204.8 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.009513, allocations: 7.938 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.009526, allocations: 2.219 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.009591, allocations: 7.938 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.009631, allocations: 3.984 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.009634, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.009707, allocations: 127.4 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009708, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002094/0.009917, allocations: 14.84 kB / 0.7907 GB, free: 8.133 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.0001338/0.01005, allocations: 95.25 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01023, allocations: 39.59 kB / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01023, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.01029, allocations: 17.16 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.01054, allocations: 8 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.01087, allocations: 122.9 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.01094, allocations: 59.91 kB / 0.791 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.01096, allocations: 4.562 kB / 0.791 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.01099, allocations: 9.25 kB / 0.791 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01099, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.00319/0.01418, allocations: 493.3 kB / 0.7915 GB, free: 7.262 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","/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.945264972979203]