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.001492/0.001492, allocations: 110.7 kB / 16.42 MB, free: 6.523 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.001703/0.001703, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.14 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.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 67.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001982/1.05, allocations: 0.6597 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001208/1.052, allocations: 0.8117 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/1.052, allocations: 4 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/1.052, allocations: 7.922 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.727e-05/1.052, allocations: 3.938 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/1.052, allocations: 8 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/1.052, allocations: 19.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/1.052, allocations: 12 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/1.052, allocations: 11.92 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/1.052, allocations: 15.97 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/1.052, allocations: 0 / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/1.052, allocations: 8 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/1.052, allocations: 4 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/1.053, allocations: 7.938 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/1.053, allocations: 23.84 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.053, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/1.053, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.053, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 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.0005412/1.053, allocations: 336 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.053, allocations: 8.922 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/1.053, allocations: 8.938 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.053, allocations: 168.3 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.053, allocations: 384 / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/1.054, allocations: 384 / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/1.054, allocations: 58.16 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.054, allocations: 192 / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.054, allocations: 3.938 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.054, allocations: 4 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/1.054, allocations: 31.97 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/1.054, allocations: 252.9 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.055, allocations: 46.44 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/1.055, allocations: 27.34 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/1.055, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.055, allocations: 38.55 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.055, allocations: 0 / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003606/1.055, allocations: 73.66 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/1.055, allocations: 59.34 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/1.055, allocations: 97.84 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/1.055, allocations: 29.83 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/1.055, allocations: 92.12 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/1.055, allocations: 3.953 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/1.055, allocations: 21.64 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.055, allocations: 314.8 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/1.056, allocations: 11.98 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/1.056, allocations: 15.98 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.056, allocations: 44.88 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.056, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/1.056, allocations: 69.56 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.056, allocations: 4 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/1.056, allocations: 3.984 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.056, allocations: 4.031 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/1.056, allocations: 8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.056, allocations: 3.938 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/1.056, allocations: 7.984 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/1.056, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 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.398e-05/1.056, allocations: 109.8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/1.056, allocations: 11.88 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/1.057, allocations: 68.78 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.057, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.057, allocations: 7.984 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/1.057, allocations: 77.11 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/1.057, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/1.057, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/1.057, allocations: 7.984 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002579/1.057, allocations: 152.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002634/1.057, allocations: 238.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.951e-05/1.057, allocations: 15.98 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.419e-05/1.058, allocations: 91.33 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Backend: time 6.02e-07/1.058, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005029/1.058, allocations: 94.33 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005687/1.059, allocations: 0.5459 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.002889/1.061, allocations: 0.5379 MB / 1.173 GB, free: 14.09 MB / 0.9044 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=480 -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