Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.0023/0.0023, allocations: 104.4 kB / 16.45 MB, free: 6.457 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.001555/0.001555, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 443.4 MB / 0.7286 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 71.89 kB / 1.056 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 160.7 MB / 1.213 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002412/1.036, allocations: 0.6719 MB / 1.214 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001349/1.037, allocations: 0.8102 MB / 1.215 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/1.037, allocations: 0 / 1.215 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/1.037, allocations: 5.062 kB / 1.215 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/1.037, allocations: 3.938 kB / 1.215 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/1.038, allocations: 18.12 kB / 1.215 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/1.038, allocations: 21.78 kB / 1.215 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/1.038, allocations: 10.48 kB / 1.215 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/1.038, allocations: 10.41 kB / 1.215 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/1.038, allocations: 11.42 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/1.038, allocations: 2.094 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/1.038, allocations: 2.188 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/1.038, allocations: 0 / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/1.038, allocations: 10.28 kB / 1.215 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.891e-05/1.038, allocations: 32.5 kB / 1.215 GB, free: 2.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.038, allocations: 4 kB / 1.215 GB, free: 2.938 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/1.038, allocations: 1.094 kB / 1.215 GB, free: 2.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.038, allocations: 0 / 1.215 GB, free: 2.938 MB / 0.92 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.0005502/1.039, allocations: 335 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.039, allocations: 10.03 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/1.039, allocations: 2 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/1.039, allocations: 166.5 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.039, allocations: 384 / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.039, allocations: 2.594 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/1.039, allocations: 57.83 kB / 1.216 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.039, allocations: 4.172 kB / 1.216 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.039, allocations: 3.938 kB / 1.216 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.039, allocations: 0 / 1.216 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/1.039, allocations: 34.86 kB / 1.216 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/1.04, allocations: 245 kB / 1.216 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/1.04, allocations: 46.78 kB / 1.216 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/1.04, allocations: 30.2 kB / 1.216 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/1.04, allocations: 0 / 1.216 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.04, allocations: 31.66 kB / 1.216 GB, free: 1.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.04, allocations: 3.938 kB / 1.216 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003677/1.04, allocations: 85.39 kB / 1.216 GB, free: 1.852 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/1.041, allocations: 55.34 kB / 1.216 GB, free: 1.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/1.041, allocations: 98.77 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.041, allocations: 26.48 kB / 1.216 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/1.041, allocations: 85.06 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/1.041, allocations: 5.078 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/1.041, allocations: 20 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.041, allocations: 312 kB / 1.217 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/1.041, allocations: 17.48 kB / 1.217 GB, free: 1.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/1.041, allocations: 20.69 kB / 1.217 GB, free: 1.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.041, allocations: 36.2 kB / 1.217 GB, free: 1.188 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.041, allocations: 4.062 kB / 1.217 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/1.041, allocations: 72.3 kB / 1.217 GB, free: 1.129 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.041, allocations: 5.469 kB / 1.217 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.041, allocations: 0 / 1.217 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.041, allocations: 1.031 kB / 1.217 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/1.042, allocations: 9.141 kB / 1.217 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.042, allocations: 5.047 kB / 1.217 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/1.042, allocations: 11.19 kB / 1.217 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/1.042, allocations: 0.9062 kB / 1.217 GB, free: 1.113 MB / 0.92 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.0001038/1.042, allocations: 116.1 kB / 1.217 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/1.042, allocations: 4.953 kB / 1.217 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/1.042, allocations: 66.09 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.042, allocations: 1.219 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.042, allocations: 0 / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/1.042, allocations: 5.188 kB / 1.217 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/1.042, allocations: 157.2 kB / 1.217 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.042, allocations: 1.125 kB / 1.217 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/1.042, allocations: 17.73 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.042, allocations: 0 / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.042, allocations: 1.156 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.042, allocations: 0 / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.042, allocations: 0 / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/1.043, allocations: 167.1 kB / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/1.043, allocations: 82.19 kB / 1.217 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/1.043, allocations: 5.219 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/1.043, allocations: 11.23 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.043, allocations: 1.094 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/1.043, allocations: 1.094 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.3e-05/1.043, allocations: 83.08 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 4.031 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002216/1.043, allocations: 3.969 kB / 1.217 GB, free: 380 kB / 0.92 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.0001493/1.043, allocations: 97.66 kB / 1.218 GB, free: 288 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002353/1.043, allocations: 43.95 kB / 1.218 GB, free: 264 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.043, allocations: 4 kB / 1.218 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/1.043, allocations: 20.05 kB / 1.218 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/1.044, allocations: 8.719 kB / 1.218 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/1.044, allocations: 116.8 kB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/1.044, allocations: 0.6771 MB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.551e-05/1.045, allocations: 1.359 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/1.045, allocations: 8.344 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/1.045, allocations: 0 / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.003175/1.048, allocations: 446.8 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.031269195489585]