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.007664/0.007664, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001721/0.001721, allocations: 190.1 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.43/1.43, 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.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9928/0.994, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002074/0.9962, allocations: 0.6568 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.9974, allocations: 0.8079 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.9974, allocations: 4 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.9975, allocations: 3.938 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.9976, allocations: 7.938 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.9978, allocations: 7.984 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.9978, allocations: 23.92 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.998, allocations: 7.984 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.998, allocations: 11.94 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.9981, allocations: 7.984 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.9981, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.9981, allocations: 4 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.9981, allocations: 11.94 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.9982, allocations: 8 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.9983, allocations: 27.88 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9983, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9983, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.9983, allocations: 0 / 1.209 GB, free: 12.02 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.0004558/0.9988, allocations: 339.3 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9988, allocations: 12.03 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.9988, allocations: 0.9375 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.999, allocations: 164.4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.999, allocations: 4.375 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.999, allocations: 384 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.9992, allocations: 58.16 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.9992, allocations: 192 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9992, allocations: 3.938 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9992, allocations: 0 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.9994, allocations: 43.89 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.9997, allocations: 241 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.9999, allocations: 46.44 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/1, allocations: 24.89 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/1, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1, allocations: 38.56 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.073e-06/1, allocations: 0 / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/1, allocations: 81.55 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1, allocations: 51.41 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/1.001, allocations: 97.86 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.001, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/1.001, allocations: 92.25 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/1.001, allocations: 7.844 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/1.001, allocations: 17.66 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.001, allocations: 314.8 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/1.001, allocations: 11.98 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/1.001, allocations: 27.97 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/1.001, allocations: 40.89 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.001, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/1.001, allocations: 65.59 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.001, allocations: 8 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.001, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.001, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/1.002, allocations: 15.95 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.002, allocations: 0 / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/1.002, allocations: 4 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.002, allocations: 4 kB / 1.211 GB, free: 9.988 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 8.47e-05/1.002, allocations: 117.8 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/1.002, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/1.002, allocations: 72.78 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.002, allocations: 0 / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.002, allocations: 0 / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.002, allocations: 0 / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/1.002, allocations: 157.6 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.002, allocations: 0 / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/1.002, allocations: 11.98 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/1.002, allocations: 3.938 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.002, allocations: 0 / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.002, allocations: 3.938 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.002, allocations: 3.984 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/1.002, allocations: 171.4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/1.003, allocations: 78.94 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/1.003, allocations: 7.984 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/1.003, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/1.003, allocations: 4 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.003, allocations: 8.031 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.819e-05/1.003, allocations: 83.45 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.003, allocations: 0 / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002093/1.003, allocations: 4 kB / 1.212 GB, free: 9.176 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.0001794/1.003, allocations: 95.39 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002282/1.003, allocations: 43.89 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.003, allocations: 4.062 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/1.004, allocations: 15.98 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/1.004, allocations: 14.83 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/1.004, allocations: 114 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/1.004, allocations: 0.6768 MB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.754e-05/1.004, allocations: 8.047 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/1.005, allocations: 7.438 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.005, allocations: 0 / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.00253/1.007, allocations: 448.6 kB / 1.213 GB, free: 7.703 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