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.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.001989/0.001989, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002858/0.002858, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.734/2.734, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.668e-06/4.668e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.912e-05/5.379e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00337/0.003423, allocations: 0.6593 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.00542, allocations: 0.851 MB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.005481, allocations: 0 / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.005531, allocations: 3.938 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.005629, allocations: 11.94 kB / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.005939, allocations: 7.984 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.006071, allocations: 27.92 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.006208, allocations: 0 / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.006336, allocations: 19.91 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.006386, allocations: 8 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.006419, allocations: 4 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.006482, allocations: 4 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.006505, allocations: 7.922 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.006541, allocations: 8 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.006697, allocations: 27.89 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.006702, allocations: 4 kB / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.006703, allocations: 0 / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.006713, allocations: 4 kB / 0.9526 GB, free: 9.844 MB / 0.8575 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.000732/0.007445, allocations: 260.2 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.0075, allocations: 8.031 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.007635, allocations: 12.86 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.007829, allocations: 109.8 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.00784, allocations: 384 / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.007858, allocations: 384 / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.00813, allocations: 62.16 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.008144, allocations: 192 / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.008157, allocations: 384 / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008162, allocations: 384 / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.008442, allocations: 39.84 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.008922, allocations: 192.6 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.009123, allocations: 34.56 kB / 0.9533 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.009261, allocations: 20.91 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.009288, allocations: 7.984 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.009336, allocations: 38.5 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.009338, allocations: 0 / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005797/0.009917, allocations: 81.58 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.01, allocations: 51.41 kB / 0.9535 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01014, allocations: 97.86 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.01017, allocations: 29.83 kB / 0.9536 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.01026, allocations: 88.08 kB / 0.9537 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.01028, allocations: 7.953 kB / 0.9537 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.01034, allocations: 17.7 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.01055, allocations: 310.8 kB / 0.9541 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01069, allocations: 15.98 kB / 0.9541 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01081, allocations: 15.98 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.01108, allocations: 44.81 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01109, allocations: 0 / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003332/0.01142, allocations: 65.67 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.01145, allocations: 7.984 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.01146, allocations: 3.938 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.01148, allocations: 4 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.0116, allocations: 4 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01161, allocations: 4.031 kB / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.01169, allocations: 11.94 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.01169, allocations: 0 / 0.9542 GB, free: 8.055 MB / 0.8575 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.0001296/0.01182, allocations: 109.8 kB / 0.9543 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.01186, allocations: 0 / 0.9543 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.01223, allocations: 84.83 kB / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01223, allocations: 0 / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01224, allocations: 0 / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01224, allocations: 7.969 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.01247, allocations: 101.3 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01248, allocations: 7.938 kB / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.01258, allocations: 11.98 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01258, allocations: 0 / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.01259, allocations: 0 / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.01259, allocations: 3.938 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0126, allocations: 0 / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.01304, allocations: 163.5 kB / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01305, allocations: 8 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.01307, allocations: 0 / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01322, allocations: 11.92 kB / 0.9547 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.01328, allocations: 4 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01329, allocations: 0 / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.01336, allocations: 87.44 kB / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01336, allocations: 0 / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004348/0.0138, allocations: 7.953 kB / 0.9548 GB, free: 7.395 MB / 0.8575 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.0002444/0.01404, allocations: 99.28 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.01438, allocations: 35.95 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01438, allocations: 0 / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01453, allocations: 23.92 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.01504, allocations: 0 / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01549, allocations: 104.9 kB / 0.9551 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.0156, allocations: 67.47 kB / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.01564, allocations: 0 / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.01569, allocations: 12.5 kB / 0.9551 GB, free: 7 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.01569, allocations: 0 / 0.9551 GB, free: 7 MB / 0.8575 GB Notification: Performance of Templates: time 0.004193/0.01988, allocations: 465.7 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.156191684305668]