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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 67.89 kB / 1.136 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001679/1.181, allocations: 0.6688 MB / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007558/1.181, allocations: 0.8207 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/1.181, allocations: 3.938 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/1.182, allocations: 0 / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/1.182, allocations: 3.938 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/1.182, allocations: 14.5 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/1.182, allocations: 20.31 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/1.182, allocations: 6.969 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/1.182, allocations: 10.16 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/1.182, allocations: 14.16 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/1.182, allocations: 2.875 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-06/1.182, allocations: 0 / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/1.182, allocations: 10.72 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/1.182, allocations: 6.906 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.243e-05/1.182, allocations: 24.05 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.182, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/1.182, allocations: 4 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.649e-06/1.182, allocations: 0 / 1.307 GB, free: 32.31 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.000379/1.182, allocations: 338.7 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/1.183, allocations: 8.594 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/1.183, allocations: 7.672 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/1.183, allocations: 160.4 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.183, allocations: 7.188 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/1.183, allocations: 384 / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/1.183, allocations: 55.39 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.183, allocations: 192 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/1.183, allocations: 3.938 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.183, allocations: 3.25 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/1.183, allocations: 34.88 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/1.183, allocations: 248.3 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.183, allocations: 48.84 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/1.183, allocations: 16.86 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/1.183, allocations: 10.2 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/1.183, allocations: 30.56 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/1.183, allocations: 0 / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003177/1.184, allocations: 79.05 kB / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/1.184, allocations: 58.19 kB / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/1.184, allocations: 96.61 kB / 1.308 GB, free: 31.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/1.184, allocations: 25.7 kB / 1.308 GB, free: 31.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/1.184, allocations: 97.77 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/1.184, allocations: 0 / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/1.184, allocations: 16.56 kB / 1.308 GB, free: 30.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/1.184, allocations: 310.8 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/1.184, allocations: 22.14 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/1.184, allocations: 15.64 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.184, allocations: 42.84 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.184, allocations: 4.062 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001575/1.184, allocations: 68.72 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.184, allocations: 14.53 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.184, allocations: 0 / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.184, allocations: 0 / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/1.185, allocations: 9.125 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.185, allocations: 2.75 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/1.185, allocations: 2.969 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/1.185, allocations: 4 kB / 1.309 GB, free: 30.59 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 4.798e-05/1.185, allocations: 116.2 kB / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/1.185, allocations: 0 / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/1.185, allocations: 69.98 kB / 1.309 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.185, allocations: 7.562 kB / 1.309 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.185, allocations: 0 / 1.309 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.185, allocations: 4.031 kB / 1.309 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/1.185, allocations: 158.9 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.185, allocations: 0 / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/1.185, allocations: 13.31 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.185, allocations: 0 / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.185, allocations: 3.938 kB / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.185, allocations: 3.984 kB / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.185, allocations: 0 / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/1.185, allocations: 171.2 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/1.185, allocations: 81.06 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.185, allocations: 0 / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/1.185, allocations: 6.016 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/1.185, allocations: 2.562 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/1.185, allocations: 0 / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.506e-05/1.185, allocations: 88.12 kB / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.185, allocations: 4.031 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002136/1.186, allocations: 2.844 kB / 1.31 GB, free: 29.89 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.0001155/1.186, allocations: 95.59 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002128/1.186, allocations: 39.38 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.186, allocations: 0 / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/1.186, allocations: 22.23 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.186, allocations: 13.06 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/1.187, allocations: 127.4 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/1.187, allocations: 0.676 MB / 1.31 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.004e-05/1.187, allocations: 3.938 kB / 1.31 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/1.187, allocations: 10.28 kB / 1.31 GB, free: 28.97 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/1.187, allocations: 3.938 kB / 1.31 GB, free: 28.96 MB / 1.061 GB Notification: Performance of Templates: time 0.002466/1.189, allocations: 435.3 kB / 1.311 GB, free: 28.9 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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: 10.035813638009131]