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.001254/0.001254, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00149/0.00149, allocations: 155.8 kB / 23.01 MB, free: 4.602 MB / 14.72 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 0.9516 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3799, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00256/0.3824, allocations: 0.6631 MB / 1.118 GB, free: 1.832 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3839, allocations: 0.8393 MB / 1.119 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.3839, allocations: 0 / 1.119 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.384, allocations: 3.938 kB / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.384, allocations: 3.984 kB / 1.119 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3842, allocations: 11.94 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.3843, allocations: 23.92 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3844, allocations: 4 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.3845, allocations: 23.91 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.3845, allocations: 0 / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3846, allocations: 4 kB / 1.119 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.3846, allocations: 11.98 kB / 1.119 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.3846, allocations: 3.938 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.3847, allocations: 8 kB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.3848, allocations: 27.83 kB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3848, allocations: 4 kB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3848, allocations: 0 / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3848, allocations: 0 / 1.119 GB, free: 0.8516 MB / 1.061 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.0005395/0.3853, allocations: 262.3 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3854, allocations: 12.03 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.3855, allocations: 4.922 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3856, allocations: 114.4 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3857, allocations: 4.312 kB / 1.119 GB, free: 416 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3857, allocations: 4.375 kB / 1.119 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3859, allocations: 50.17 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3859, allocations: 192 / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3859, allocations: 7.938 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3859, allocations: 0 / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.3862, allocations: 35.97 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3865, allocations: 188.6 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3867, allocations: 42.44 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3868, allocations: 24.91 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3869, allocations: 7.922 kB / 1.12 GB, free: 4 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.3869, allocations: 34.55 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3869, allocations: 4 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0005377/0.3875, allocations: 81.64 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3875, allocations: 51.41 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3876, allocations: 93.86 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3877, allocations: 37.64 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3877, allocations: 80.14 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3878, allocations: 3.953 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.3878, allocations: 17.83 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.388, allocations: 318.8 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3881, allocations: 11.98 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3882, allocations: 19.98 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3885, allocations: 40.81 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3885, allocations: 0 / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003062/0.3888, allocations: 65.67 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3888, allocations: 11.98 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3888, allocations: 0 / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3888, allocations: 0 / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3889, allocations: 7.938 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3889, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.389, allocations: 7.984 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.389, allocations: 4 kB / 1.121 GB, free: 15.06 MB / 1.076 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.0001185/0.3891, allocations: 113.9 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.3892, allocations: 11.89 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3895, allocations: 72.95 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3895, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3895, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3895, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.3898, allocations: 101.3 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3898, allocations: 0 / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3898, allocations: 11.98 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3899, allocations: 11.91 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.3899, allocations: 3.938 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3899, allocations: 3.938 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3899, allocations: 0 / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3902, allocations: 159.5 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.3902, allocations: 7.938 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3902, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3904, allocations: 7.984 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3904, allocations: 4.031 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3904, allocations: 3.984 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.3905, allocations: 83.28 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3905, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004379/0.3909, allocations: 4 kB / 1.121 GB, free: 14.41 MB / 1.076 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.0001536/0.3911, allocations: 95.25 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3914, allocations: 39.89 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3914, allocations: 4.062 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3915, allocations: 19.98 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3919, allocations: 4 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3924, allocations: 114.1 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.3924, allocations: 63.34 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3925, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.3925, allocations: 8.562 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3925, allocations: 4 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of Templates: time 0.003609/0.3961, allocations: 468.1 kB / 1.122 GB, free: 13.54 MB / 1.076 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 -s ida -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/jenkins1/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: 8.650957670994103]