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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 103.6 kB / 18.95 MB, free: 2.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002516/0.002516, allocations: 211 kB / 22.25 MB, free: 5.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.657/3.657, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 68.27 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4607, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002274/0.4629, allocations: 0.6594 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4643, allocations: 0.8592 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.4643, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.4644, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.4644, allocations: 3.938 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.4646, allocations: 11.98 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.4647, allocations: 19.94 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4648, allocations: 7.984 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.4649, allocations: 11.98 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.4649, allocations: 7.922 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4649, allocations: 8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.465, allocations: 8 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.465, allocations: 0 / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.4651, allocations: 11.94 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4652, allocations: 31.83 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4652, allocations: 3.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4652, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4652, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 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.0007497/0.4659, allocations: 254.4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.466, allocations: 12.03 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.4661, allocations: 8.891 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4662, allocations: 110.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.4662, allocations: 4.312 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4662, allocations: 4.375 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4664, allocations: 46.23 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4664, allocations: 192 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4664, allocations: 11.94 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4664, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.4666, allocations: 31.95 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.467, allocations: 196.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4671, allocations: 38.55 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.4672, allocations: 28.89 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4672, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4673, allocations: 30.56 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4673, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003909/0.4677, allocations: 89.58 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.4677, allocations: 51.41 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4678, allocations: 97.86 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4678, allocations: 29.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.4679, allocations: 88.08 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.468, allocations: 3.953 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.468, allocations: 13.72 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4682, allocations: 314.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.4682, allocations: 20.11 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.4683, allocations: 19.97 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4685, allocations: 36.83 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4685, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.4687, allocations: 69.53 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4687, allocations: 12.09 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4687, allocations: 3.938 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4687, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4688, allocations: 7.984 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4688, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.4688, allocations: 4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.4688, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 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 9.212e-05/0.4689, allocations: 114.9 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.469, allocations: 7.938 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.4692, allocations: 72.91 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4692, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4692, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4692, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.4693, allocations: 105.3 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4693, allocations: 4 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.4694, allocations: 4 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4694, allocations: 7.875 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4694, allocations: 4 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4694, allocations: 8.016 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4694, allocations: 4 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4697, allocations: 163.5 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.4697, allocations: 7.875 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.4697, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.4698, allocations: 4 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4698, allocations: 3.984 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4698, allocations: 4 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.4699, allocations: 87.31 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4699, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002049/0.4701, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 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.0001436/0.4702, allocations: 95.25 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.4705, allocations: 35.95 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4705, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.4705, allocations: 24.05 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.4708, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.4712, allocations: 110.2 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.4712, allocations: 67.28 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.4713, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.4713, allocations: 7.438 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4713, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of Templates: time 0.003032/0.4743, allocations: 483.3 kB / 1.368 GB, free: 8.594 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.981118280440569]