Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00258/0.00258, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001964/0.001964, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.124/3.124, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.673e-05, allocations: 3.219 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001887/0.001914, allocations: 0.671 MB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003173, allocations: 0.8548 MB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.003203, allocations: 1.375 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.003225, allocations: 3.938 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.003285, allocations: 0 / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.003444, allocations: 13.83 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.003515, allocations: 27.86 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.003596, allocations: 7.984 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.003675, allocations: 11.94 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.003713, allocations: 11.98 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003726, allocations: 1.344 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.003765, allocations: 8 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003779, allocations: 4 kB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.003801, allocations: 7.922 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.00391, allocations: 33.48 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003912, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003913, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003916, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 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.0004951/0.004411, allocations: 356.8 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.004466, allocations: 12.8 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.004569, allocations: 12.83 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.004684, allocations: 109.1 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004695, allocations: 2.031 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004705, allocations: 4.375 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.00484, allocations: 42.2 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.004851, allocations: 4.125 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.004859, allocations: 0.9375 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.004863, allocations: 384 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.004997, allocations: 29.22 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.005341, allocations: 247.9 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.005456, allocations: 40.2 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.005519, allocations: 19.75 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005537, allocations: 1.375 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.005575, allocations: 45.27 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005576, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002851/0.005861, allocations: 75.16 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.005916, allocations: 51.41 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.006042, allocations: 161.9 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.006064, allocations: 27.3 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.006142, allocations: 130.9 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.006158, allocations: 3.953 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.006203, allocations: 23.38 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002702/0.006473, allocations: 496.1 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.00653, allocations: 8.938 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.006585, allocations: 22.05 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.006693, allocations: 27.67 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006695, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000164/0.006859, allocations: 55.91 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.006878, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.006885, allocations: 3.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006896, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.006971, allocations: 7.984 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006974, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.007008, allocations: 4.5 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007013, allocations: 0.5312 kB / 0.8144 GB, free: 14.21 MB / 0.7761 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.0001195/0.007133, allocations: 166.5 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.007156, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.007336, allocations: 60.92 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007338, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007342, allocations: 6.219 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.007344, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.007499, allocations: 116.6 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.007504, allocations: 4 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.007548, allocations: 4 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007549, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.007562, allocations: 5.047 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.007565, allocations: 7.938 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007566, allocations: 0 / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.007831, allocations: 209.4 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007839, allocations: 8.062 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.007851, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.007919, allocations: 12.77 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.007954, allocations: 3.984 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007957, allocations: 3.406 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.91e-05/0.008036, allocations: 127.2 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008036, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002077/0.008244, allocations: 4 kB / 0.8151 GB, free: 13.43 MB / 0.7761 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.0001223/0.008366, allocations: 99.23 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.008528, allocations: 31.67 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.008529, allocations: 6.156 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.0086, allocations: 23.67 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.008847, allocations: 4 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.009151, allocations: 115.4 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.009223, allocations: 63.2 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.009244, allocations: 5.125 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.009272, allocations: 8.5 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.009272, allocations: 1.125 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003128/0.0124, allocations: 483 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.260352474055253]