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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001506/0.001506, allocations: 103.2 kB / 15.98 MB, free: 6.297 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.001415/0.001415, allocations: 195.9 kB / 16.91 MB, free: 6.145 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.555/2.555, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 75.94 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2947, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001945/0.2967, allocations: 0.7262 MB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.2976, allocations: 0.8157 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.2976, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.2977, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.2977, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.2979, allocations: 8 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.2979, allocations: 19.92 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.298, allocations: 8 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.2981, allocations: 15.92 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.2981, allocations: 11.98 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2982, allocations: 0 / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.2982, allocations: 7.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.2982, allocations: 7.984 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2982, allocations: 7.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.612e-05/0.2983, allocations: 15.97 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2983, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2983, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2983, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8419 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.0004343/0.2988, allocations: 335.8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2988, allocations: 8.031 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2988, allocations: 8.781 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.299, allocations: 164.4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.299, allocations: 384 / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.299, allocations: 4.375 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2992, allocations: 50.17 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2992, allocations: 192 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2992, allocations: 7.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2992, allocations: 8 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.2994, allocations: 31.95 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.2997, allocations: 244.9 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2998, allocations: 42.48 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.2999, allocations: 24.91 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2999, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3, allocations: 30.56 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.3, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003384/0.3003, allocations: 85.58 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3004, allocations: 55.53 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.3004, allocations: 101.8 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3005, allocations: 25.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.3005, allocations: 88.05 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.3005, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3006, allocations: 17.72 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3007, allocations: 310.8 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.3008, allocations: 23.97 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.3009, allocations: 11.98 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.301, allocations: 36.83 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.301, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.3012, allocations: 81.5 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3012, allocations: 7.938 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3012, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3013, allocations: 192 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.3014, allocations: 15.98 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3014, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.3014, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3014, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8419 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.96e-05/0.3015, allocations: 120 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3015, allocations: 8.016 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3018, allocations: 72.72 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3018, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3018, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3018, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.302, allocations: 161.6 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.302, allocations: 3.984 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.302, allocations: 8.031 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.302, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3021, allocations: 4 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3021, allocations: 7.922 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3021, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3023, allocations: 163.5 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3024, allocations: 89.03 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.3024, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3025, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3025, allocations: 3.984 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3025, allocations: 7.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.3026, allocations: 75.28 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3026, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002061/0.3028, allocations: 11.94 kB / 1.068 GB, free: 10.6 MB / 0.8419 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.0001423/0.3029, allocations: 103.2 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3031, allocations: 35.95 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3031, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.3032, allocations: 15.98 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3035, allocations: 14.19 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3038, allocations: 139.9 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3041, allocations: 0.6768 MB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.3041, allocations: 15.38 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3041, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.001841/0.306, allocations: 0.545 MB / 1.07 GB, free: 8.992 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) 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) Reference file matches