Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007558/0.007558, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.0017/0.0017, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001989/0.3634, allocations: 0.6595 MB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.3644, allocations: 0.816 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.3645, allocations: 11.88 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.3645, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.3646, allocations: 7.922 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.3647, allocations: 4 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3648, allocations: 27.92 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3649, allocations: 3.984 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.365, allocations: 8 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.3651, allocations: 15.92 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3651, allocations: 8 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.3651, allocations: 0 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3652, allocations: 0 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.3652, allocations: 15.92 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.3653, allocations: 19.91 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3653, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3653, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3653, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 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.0004789/0.3658, allocations: 343.4 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3658, allocations: 12.03 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3659, allocations: 8.859 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.366, allocations: 168.3 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3661, allocations: 384 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3661, allocations: 384 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3663, allocations: 50.23 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3663, allocations: 192 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3663, allocations: 3.938 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3663, allocations: 0 / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3665, allocations: 35.97 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3668, allocations: 252.9 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.367, allocations: 34.5 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.3671, allocations: 20.91 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3671, allocations: 11.98 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3671, allocations: 30.56 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3671, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3675, allocations: 81.59 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3676, allocations: 55.39 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.3677, allocations: 102 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3677, allocations: 25.7 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.3677, allocations: 80.14 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3677, allocations: 7.953 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3678, allocations: 17.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3679, allocations: 310.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.368, allocations: 15.98 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.3681, allocations: 23.92 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3682, allocations: 44.75 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3682, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.3684, allocations: 77.69 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3685, allocations: 7.984 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3685, allocations: 4.094 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3685, allocations: 3.984 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.3686, allocations: 8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3686, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.3687, allocations: 7.984 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3687, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 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 9.712e-05/0.3688, allocations: 113.8 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.3688, allocations: 4 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3691, allocations: 80.7 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3691, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3691, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3691, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3693, allocations: 161.5 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3693, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.3693, allocations: 7.984 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3693, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3694, allocations: 4.031 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3694, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3694, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3696, allocations: 155.5 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3697, allocations: 85.06 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3697, allocations: 4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3698, allocations: 12.02 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3698, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3698, allocations: 3.938 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.3699, allocations: 83.27 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3699, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002079/0.3701, allocations: 4 kB / 1.171 GB, free: 2.324 MB / 0.92 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.0001629/0.3703, allocations: 103.2 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3705, allocations: 35.97 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3705, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.3706, allocations: 19.97 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3709, allocations: 18 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.3712, allocations: 113.9 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3715, allocations: 0.6808 MB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.3715, allocations: 3.938 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.3716, allocations: 11.44 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3716, allocations: 0 / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of Templates: time 0.002603/0.3742, allocations: 426.5 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches