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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001563/0.001563, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001753/0.001753, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 77.33 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2897, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001975/0.2917, allocations: 0.6692 MB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.2926, allocations: 0.8079 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.2926, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.2927, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2928, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.2929, allocations: 11.98 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.293, allocations: 23.94 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2931, allocations: 11.97 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.2931, allocations: 15.94 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.2932, allocations: 11.98 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2932, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.2932, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.2932, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.2933, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.2934, allocations: 23.89 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2934, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2934, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2934, allocations: 0 / 1.066 GB, free: 13.39 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.0004194/0.2938, allocations: 339.7 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2939, allocations: 8.625 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.2939, allocations: 8.844 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.294, allocations: 164.4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.294, allocations: 4.375 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.294, allocations: 384 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2942, allocations: 54.17 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2942, allocations: 192 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2943, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2943, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2944, allocations: 35.94 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.2948, allocations: 248.9 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2949, allocations: 42.5 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.295, allocations: 28.89 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.295, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2951, allocations: 30.56 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2951, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.2954, allocations: 89.67 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.2955, allocations: 51.41 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.2955, allocations: 97.86 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2956, allocations: 29.7 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.2956, allocations: 88.03 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2956, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2957, allocations: 17.72 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2958, allocations: 310.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.2959, allocations: 16.02 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.2959, allocations: 23.97 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2961, allocations: 32.83 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2961, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001984/0.2963, allocations: 81.5 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2963, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2963, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2964, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.2965, allocations: 11.98 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2965, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.2965, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2965, allocations: 0 / 1.068 GB, free: 11.37 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.804e-05/0.2966, allocations: 121.8 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.2966, allocations: 3.984 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.2969, allocations: 72.72 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2969, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2969, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2969, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2971, allocations: 157.6 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2971, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.2971, allocations: 12.02 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2971, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2972, allocations: 3.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2972, allocations: 3.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2972, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.2974, allocations: 163.5 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.2975, allocations: 81.02 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2975, allocations: 7.984 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.2976, allocations: 8 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.2976, allocations: 3.938 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2976, allocations: 4 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.2977, allocations: 79.27 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2977, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002134/0.2979, allocations: 3.938 kB / 1.068 GB, free: 10.55 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.0001218/0.298, allocations: 103.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2982, allocations: 43.95 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2982, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.2983, allocations: 15.98 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2986, allocations: 14.12 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.2989, allocations: 139.9 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2992, allocations: 0.6768 MB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2992, allocations: 7.438 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2992, allocations: 0 / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of Templates: time 0.001684/0.3009, allocations: 0.5274 MB / 1.07 GB, free: 8.957 MB / 0.8419 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