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.005548/0.005548, allocations: 101.7 kB / 15.73 MB, free: 5.996 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.001213/0.001213, allocations: 190.5 kB / 16.67 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.91 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4005, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00192/0.4024, allocations: 0.6673 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.4034, allocations: 0.8174 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.4035, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.4035, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.4035, allocations: 7.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.4037, allocations: 4 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.4038, allocations: 23.92 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4039, allocations: 7.984 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.4039, allocations: 11.94 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.404, allocations: 15.97 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.404, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-06/0.404, allocations: 7.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.404, allocations: 4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.404, allocations: 7.938 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.053e-05/0.4041, allocations: 19.97 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.4041, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4041, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.4042, allocations: 0 / 1.222 GB, free: 12.14 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.0004324/0.4046, allocations: 339.5 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4046, allocations: 8.031 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.4047, allocations: 12.88 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.4048, allocations: 164.3 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4048, allocations: 4.312 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.4048, allocations: 4.375 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.405, allocations: 50.17 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.405, allocations: 4.188 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.405, allocations: 3.938 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.405, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4051, allocations: 27.97 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4055, allocations: 245 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4056, allocations: 42.44 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.4057, allocations: 28.91 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4057, allocations: 3.984 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.4057, allocations: 30.56 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4057, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003414/0.4061, allocations: 81.64 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4061, allocations: 59.47 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.4062, allocations: 93.86 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4062, allocations: 25.7 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.4062, allocations: 92.09 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4063, allocations: 7.938 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.4063, allocations: 17.7 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4064, allocations: 314.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.4065, allocations: 19.92 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.4065, allocations: 15.98 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4067, allocations: 40.81 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4067, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.4069, allocations: 65.61 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4069, allocations: 16.02 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4069, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4069, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.407, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.407, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.4071, allocations: 7.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4071, allocations: 0 / 1.224 GB, free: 10.12 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 7.499e-05/0.4072, allocations: 118.3 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.4072, allocations: 4.188 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.4074, allocations: 68.77 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4074, allocations: 7.984 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4074, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4074, allocations: 3.938 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4076, allocations: 157.6 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4076, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.4077, allocations: 11.92 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4077, allocations: 8.031 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.4077, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4077, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4077, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4079, allocations: 167.4 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.408, allocations: 77.11 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.408, allocations: 4.031 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.4081, allocations: 7.984 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.4081, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4081, allocations: 4 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.4081, allocations: 79.27 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4081, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002084/0.4083, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 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.0001539/0.4085, allocations: 99.25 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.4087, allocations: 39.91 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4087, allocations: 0 / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.4088, allocations: 23.97 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4091, allocations: 7.938 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.4094, allocations: 122 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4096, allocations: 0.6806 MB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.4097, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.4097, allocations: 7.438 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.4097, allocations: 3.938 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.002411/0.4121, allocations: 444.7 kB / 1.226 GB, free: 7.832 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=480 -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/jenkins/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