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.00619/0.00619, allocations: 102.8 kB / 15.73 MB, free: 6.039 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.001198/0.001198, allocations: 195.8 kB / 16.67 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7347 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002791, allocations: 67.89 kB / 1.054 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9746, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001877/0.9766, allocations: 0.6647 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.9775, allocations: 0.8078 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.9776, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.9776, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.9777, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.9778, allocations: 15.97 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.222e-05/0.9779, allocations: 23.92 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.978, allocations: 8 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.9781, allocations: 11.94 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.9782, allocations: 7.984 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.9782, allocations: 4 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.9782, allocations: 0 / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.9782, allocations: 8 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.9783, allocations: 7.922 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.839e-05/0.9784, allocations: 23.89 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9784, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9784, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.9784, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 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.0004615/0.9788, allocations: 347.3 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.9789, allocations: 8.031 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.9789, allocations: 0.9375 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.979, allocations: 168.3 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.9791, allocations: 4.375 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.9791, allocations: 384 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.9793, allocations: 54.17 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9793, allocations: 192 / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.9793, allocations: 7.938 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9793, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.9795, allocations: 35.95 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.9799, allocations: 244.9 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.98, allocations: 46.48 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.9801, allocations: 24.91 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.9801, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.9802, allocations: 34.56 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.9802, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.9805, allocations: 89.42 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.9806, allocations: 55.53 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.9807, allocations: 97.86 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.9807, allocations: 25.7 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.9807, allocations: 88.12 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.9808, allocations: 7.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.9808, allocations: 9.719 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9809, allocations: 314.8 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.981, allocations: 19.98 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.9811, allocations: 15.97 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.9812, allocations: 36.83 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9812, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.9814, allocations: 81.59 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9815, allocations: 5.719 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9815, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.9815, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.9816, allocations: 11.98 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9816, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.9816, allocations: 4 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.9817, allocations: 0 / 1.211 GB, free: 9.969 MB / 0.9356 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.725e-05/0.9817, allocations: 117.8 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.9818, allocations: 4.031 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.982, allocations: 72.72 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.982, allocations: 0 / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.982, allocations: 4 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.982, allocations: 0 / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.9822, allocations: 161.8 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9822, allocations: 0 / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.9822, allocations: 7.984 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.9823, allocations: 8.016 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.9823, allocations: 4 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9823, allocations: 3.938 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9823, allocations: 0 / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.9825, allocations: 167.4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.9826, allocations: 78.94 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.9826, allocations: 8.016 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.9827, allocations: 7.938 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.9827, allocations: 3.984 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.9827, allocations: 4 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.9828, allocations: 83.22 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9828, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002251/0.983, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 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.0001404/0.9831, allocations: 105.5 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.9834, allocations: 35.95 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9834, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.9835, allocations: 19.98 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.9838, allocations: 11.92 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.9841, allocations: 118.1 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.9844, allocations: 0.6768 MB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.9844, allocations: 4 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.9844, allocations: 7.438 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9844, allocations: 0 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.002351/0.9868, allocations: 436.9 kB / 1.213 GB, free: 7.684 MB / 0.9356 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/jenkins/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