Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001953/0.001953, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.00248/0.00248, allocations: 159.3 kB / 23.01 MB, free: 4.961 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.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.961/2.961, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002125/0.002125, allocations: 71.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00201/1.02, allocations: 0.6682 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001071/1.021, allocations: 0.8484 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/1.021, allocations: 1.188 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/1.021, allocations: 7.938 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/1.021, allocations: 0.6094 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/1.022, allocations: 18.33 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/1.022, allocations: 19.95 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.022, allocations: 8.5 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/1.022, allocations: 18.42 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/1.022, allocations: 8.188 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/1.022, allocations: 2 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/1.022, allocations: 4.422 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/1.022, allocations: 2 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/1.022, allocations: 12.09 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/1.022, allocations: 34.88 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.022, allocations: 1.094 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.933e-06/1.022, allocations: 0 / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.022, allocations: 0 / 1.188 GB, free: 15.11 MB / 1.076 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.0004159/1.023, allocations: 260.7 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.023, allocations: 9.312 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.023, allocations: 8.625 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/1.023, allocations: 108.9 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.023, allocations: 2 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.023, allocations: 1.625 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.023, allocations: 56.86 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.023, allocations: 192 / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/1.023, allocations: 5.953 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.023, allocations: 4 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/1.023, allocations: 32.36 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/1.024, allocations: 190.8 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/1.024, allocations: 36.16 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/1.024, allocations: 23.14 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/1.024, allocations: 8.969 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.024, allocations: 32.58 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.024, allocations: 1.25 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003568/1.024, allocations: 79.77 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/1.024, allocations: 51.53 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/1.024, allocations: 106.6 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.024, allocations: 25.7 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/1.024, allocations: 90.02 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/1.024, allocations: 6.094 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/1.024, allocations: 16.7 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/1.024, allocations: 313.5 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/1.024, allocations: 24.55 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/1.025, allocations: 15.52 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/1.025, allocations: 40.64 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.025, allocations: 0 / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/1.025, allocations: 67.88 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.025, allocations: 5.594 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.025, allocations: 0 / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.025, allocations: 1.25 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/1.025, allocations: 12.47 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.025, allocations: 0.6094 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/1.025, allocations: 11.47 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.025, allocations: 0 / 1.19 GB, free: 13.64 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 5.965e-05/1.025, allocations: 112.7 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.025, allocations: 9.016 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/1.025, allocations: 71.5 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.025, allocations: 1.875 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.025, allocations: 4.031 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.025, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/1.026, allocations: 101.4 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.026, allocations: 0 / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/1.026, allocations: 8.766 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.026, allocations: 5.094 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/1.026, allocations: 0.7031 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.026, allocations: 0 / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.026, allocations: 1.281 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/1.026, allocations: 171.9 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/1.026, allocations: 5 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/1.026, allocations: 2.047 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/1.026, allocations: 5.797 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/1.026, allocations: 10.41 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/1.026, allocations: 1.969 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.557e-05/1.026, allocations: 80 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.026, allocations: 3.938 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002148/1.026, allocations: 3.188 kB / 1.19 GB, free: 13.1 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.000128/1.026, allocations: 101.7 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.027, allocations: 39.59 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.027, allocations: 0 / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/1.027, allocations: 19.88 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/1.027, allocations: 3.312 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/1.027, allocations: 109.2 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/1.027, allocations: 67.73 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.22e-05/1.027, allocations: 1.406 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/1.027, allocations: 14.03 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/1.027, allocations: 0 / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of Templates: time 0.003131/1.03, allocations: 469.7 kB / 1.191 GB, free: 12.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.302138620987535]