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.001575/0.001575, allocations: 105 kB / 16.27 MB, free: 6.41 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.001554/0.001554, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.534/2.534, allocations: 437.1 MB / 0.7111 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.95 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.304, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002042/0.3061, allocations: 0.6614 MB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.3071, allocations: 0.8157 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3071, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.3072, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.3072, allocations: 3.938 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.3074, allocations: 7.984 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.3074, allocations: 31.91 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.3075, allocations: 4 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.3076, allocations: 7.938 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.3076, allocations: 11.98 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3077, allocations: 4 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.3077, allocations: 7.938 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3077, allocations: 3.938 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.3077, allocations: 11.98 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.3078, allocations: 27.89 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3078, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3078, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3078, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 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.0004798/0.3083, allocations: 339.7 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3084, allocations: 8.922 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.3084, allocations: 12.78 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3085, allocations: 164.4 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3086, allocations: 384 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3086, allocations: 4.375 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3088, allocations: 46.23 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3088, allocations: 192 / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3088, allocations: 7.938 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3088, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.309, allocations: 39.95 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.3093, allocations: 248.8 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3095, allocations: 42.53 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.3096, allocations: 16.91 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3096, allocations: 8 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3096, allocations: 30.56 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3097, allocations: 0 / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.31, allocations: 85.58 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3101, allocations: 51.41 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.3102, allocations: 106 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3102, allocations: 25.7 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3102, allocations: 80.14 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3103, allocations: 7.906 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3103, allocations: 13.72 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3104, allocations: 314.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3105, allocations: 19.97 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.3106, allocations: 15.98 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3108, allocations: 36.83 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3108, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.311, allocations: 77.44 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.311, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.311, allocations: 4.281 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3111, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.3111, allocations: 15.98 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3112, allocations: 0 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.3112, allocations: 15.91 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3112, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 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 8.363e-05/0.3113, allocations: 110.4 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3113, allocations: 4 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3116, allocations: 76.72 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3116, allocations: 4 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3116, allocations: 0 / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3116, allocations: 0 / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3118, allocations: 161.6 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3118, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.3119, allocations: 4 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3119, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3119, allocations: 7.969 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3119, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3119, allocations: 7.984 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3122, allocations: 155.5 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3122, allocations: 85.09 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3122, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3123, allocations: 8.031 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.3123, allocations: 3.984 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3124, allocations: 3.938 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.3124, allocations: 79.28 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002118/0.3126, allocations: 11.94 kB / 1.022 GB, free: 6.176 MB / 0.795 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.0001373/0.3128, allocations: 99.25 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.313, allocations: 39.95 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.313, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.3131, allocations: 15.98 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3134, allocations: 14.28 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.3137, allocations: 143.8 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.314, allocations: 0.6768 MB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.3141, allocations: 11.44 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3141, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of Templates: time 0.001933/0.316, allocations: 0.5402 MB / 1.024 GB, free: 4.578 MB / 0.795 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=400 -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/jenkins1/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