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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00625/0.00625, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 197.3 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 72.73 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2934, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002185/0.2957, allocations: 0.7378 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000986/0.2967, allocations: 0.8118 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.2967, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.2968, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.2969, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.297, allocations: 11.94 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.2971, allocations: 23.92 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2972, allocations: 8 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.2973, allocations: 15.92 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.2973, allocations: 7.938 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2974, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.2974, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.2974, allocations: 15.97 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.2974, allocations: 3.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.697e-05/0.2975, allocations: 19.97 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2975, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2975, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2975, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 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.000475/0.298, allocations: 339.7 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2981, allocations: 15.97 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2981, allocations: 4.844 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2982, allocations: 160.4 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2983, allocations: 4.375 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.2983, allocations: 384 / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2985, allocations: 50.23 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2985, allocations: 4.188 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2985, allocations: 3.938 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2985, allocations: 0 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2987, allocations: 39.89 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.299, allocations: 241 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2992, allocations: 50.42 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.2992, allocations: 20.91 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2993, allocations: 4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.2993, allocations: 34.5 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.2993, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003568/0.2997, allocations: 85.64 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2997, allocations: 51.41 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.2998, allocations: 93.86 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2998, allocations: 33.69 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.2999, allocations: 80.14 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2999, allocations: 7.906 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.2999, allocations: 13.66 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3, allocations: 319 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.3001, allocations: 15.98 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.3002, allocations: 19.97 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3004, allocations: 40.77 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3004, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.3006, allocations: 77.56 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3006, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3006, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3006, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.3007, allocations: 15.98 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3007, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3008, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3008, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 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 7.839e-05/0.3009, allocations: 121.8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3009, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3011, allocations: 68.72 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3012, allocations: 192 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3012, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3012, allocations: 3.984 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3013, allocations: 157.6 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3013, allocations: 4.031 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3014, allocations: 11.98 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3014, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3014, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3014, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3014, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3017, allocations: 171.4 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.3017, allocations: 85.09 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3017, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3018, allocations: 4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.3019, allocations: 11.92 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3019, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.3019, allocations: 79.28 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3019, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002172/0.3021, allocations: 7.938 kB / 1.057 GB, free: 3.801 MB / 0.8106 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.0001487/0.3023, allocations: 103.2 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3025, allocations: 39.95 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3025, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.3026, allocations: 23.92 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3029, allocations: 5.781 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3032, allocations: 141.7 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3035, allocations: 0.677 MB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3035, allocations: 7.438 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of SimCode: time 7.02e-07/0.3035, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.00187/0.3054, allocations: 0.5369 MB / 1.058 GB, free: 2.207 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) 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) Reference file matches