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.001691/0.001691, allocations: 114.3 kB / 16.81 MB, free: 5.766 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.001974/0.001974, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.722/1.722, allocations: 225.6 MB / 244.2 MB, free: 13.88 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.891/2.891, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 70.89 kB / 1.097 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3911, allocations: 168.7 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002158/0.3933, allocations: 0.6719 MB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3944, allocations: 0.8043 MB / 1.264 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.3944, allocations: 0 / 1.264 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.3944, allocations: 0 / 1.264 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.3945, allocations: 3.938 kB / 1.264 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.3946, allocations: 11.94 kB / 1.264 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.3947, allocations: 23.92 kB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3948, allocations: 11.98 kB / 1.264 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.3949, allocations: 12 kB / 1.264 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.3949, allocations: 15.91 kB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3949, allocations: 4 kB / 1.264 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.3949, allocations: 0 / 1.264 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.395, allocations: 0 / 1.264 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.395, allocations: 11.94 kB / 1.264 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.912e-05/0.3951, allocations: 23.84 kB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3951, allocations: 0 / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3951, allocations: 0 / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3951, allocations: 0 / 1.264 GB, free: 11.44 MB / 0.9825 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.0005116/0.3956, allocations: 347.4 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3956, allocations: 12.02 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3957, allocations: 4.891 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3958, allocations: 168.3 kB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3958, allocations: 384 / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3958, allocations: 4.375 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.396, allocations: 46.23 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.396, allocations: 4.172 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.396, allocations: 11.94 kB / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.396, allocations: 0 / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3962, allocations: 35.95 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3966, allocations: 241 kB / 1.265 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3967, allocations: 42.44 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.3968, allocations: 20.91 kB / 1.265 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3968, allocations: 3.984 kB / 1.265 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3968, allocations: 34.56 kB / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3968, allocations: 0 / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.3972, allocations: 85.67 kB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3972, allocations: 55.41 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.3973, allocations: 97.86 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3973, allocations: 25.7 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.3974, allocations: 84.09 kB / 1.265 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.3974, allocations: 11.92 kB / 1.265 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3975, allocations: 17.72 kB / 1.265 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3976, allocations: 310.8 kB / 1.265 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.3977, allocations: 24.02 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.3978, allocations: 11.98 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3979, allocations: 40.81 kB / 1.265 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3979, allocations: 0 / 1.265 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.3981, allocations: 73.59 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3981, allocations: 13.5 kB / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3981, allocations: 0 / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3981, allocations: 0 / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.3982, allocations: 8 kB / 1.265 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.3983, allocations: 4 kB / 1.265 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3983, allocations: 3.984 kB / 1.265 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3983, allocations: 4 kB / 1.265 GB, free: 9.402 MB / 0.9825 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 0.000104/0.3984, allocations: 109.9 kB / 1.266 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3984, allocations: 7.875 kB / 1.266 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3987, allocations: 76.77 kB / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3987, allocations: 0 / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3987, allocations: 0 / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.3987, allocations: 81.05 kB / 1.266 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3988, allocations: 4 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.3988, allocations: 8.016 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3989, allocations: 8 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002655/0.3991, allocations: 144.9 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002918/0.3994, allocations: 242.8 kB / 1.266 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.079e-05/0.3995, allocations: 23.91 kB / 1.266 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.3996, allocations: 79.28 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of Backend: time 2.01e-07/0.3996, allocations: 0 / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.4001, allocations: 102.3 kB / 1.266 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006193/0.4007, allocations: 0.5655 MB / 1.267 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.003116/0.4038, allocations: 0.5247 MB / 1.267 GB, free: 7.336 MB / 0.9825 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