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.001741/0.001741, allocations: 114.8 kB / 17.08 MB, free: 5.953 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.001953/0.001953, allocations: 193.2 kB / 20.03 MB, free: 3.027 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.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.191 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 3.06/3.06, allocations: 489.3 MB / 0.7687 GB, free: 3.832 MB / 0.6075 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.001973/0.001973, allocations: 63.91 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.9545, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001653/0.9562, allocations: 0.6761 MB / 1.263 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.9571, allocations: 0.8014 MB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.9571, allocations: 0.9062 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.9571, allocations: 3.938 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.9572, allocations: 11.16 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.9573, allocations: 4.453 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.9574, allocations: 25.05 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.9575, allocations: 11.89 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.9576, allocations: 12.52 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.9576, allocations: 13.77 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.9576, allocations: 1.625 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.9576, allocations: 1.656 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.9577, allocations: 5.938 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.9577, allocations: 7.312 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.9578, allocations: 24.84 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9578, allocations: 4 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9578, allocations: 0 / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.9578, allocations: 0.7812 kB / 1.264 GB, free: 6.941 MB / 0.9981 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.0003303/0.9581, allocations: 331.9 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.9582, allocations: 10.11 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.9582, allocations: 9.797 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/0.9583, allocations: 171.6 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.9583, allocations: 1.188 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-06/0.9583, allocations: 1.25 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.9585, allocations: 53.77 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.9585, allocations: 0.9688 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.9585, allocations: 7.938 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9585, allocations: 0.75 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.9587, allocations: 32.86 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.9589, allocations: 246.4 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.9591, allocations: 51.86 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.9592, allocations: 19.53 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.9592, allocations: 1.438 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.9592, allocations: 35.38 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9592, allocations: 0.75 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.9596, allocations: 83.53 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.9596, allocations: 53.3 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.9597, allocations: 101 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.9597, allocations: 33.58 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.9597, allocations: 81.56 kB / 1.265 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.9597, allocations: 10.08 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.9598, allocations: 12.55 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.9598, allocations: 313 kB / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.9599, allocations: 22.36 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.96, allocations: 14.17 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.9601, allocations: 37.42 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9601, allocations: 3.938 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.9603, allocations: 75.27 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.9604, allocations: 5.594 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9604, allocations: 0.6562 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9604, allocations: 0.7188 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.9605, allocations: 13.34 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9605, allocations: 0 / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.9605, allocations: 6.281 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.9606, allocations: 1 kB / 1.266 GB, free: 5.223 MB / 0.9981 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.371e-05/0.9606, allocations: 116.3 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.9606, allocations: 5.484 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.9609, allocations: 70.88 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9609, allocations: 1.359 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9609, allocations: 0.7812 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9609, allocations: 0.7031 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.961, allocations: 159 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.961, allocations: 0.7812 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.9611, allocations: 12.73 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9611, allocations: 0.75 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9611, allocations: 5.234 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.9611, allocations: 0 / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9611, allocations: 0.7812 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.9613, allocations: 175.4 kB / 1.266 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.9614, allocations: 78.45 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.9614, allocations: 1.844 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.9615, allocations: 5.688 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.9615, allocations: 1.984 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.9615, allocations: 1.375 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.35e-05/0.9616, allocations: 83.45 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9616, allocations: 0 / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002149/0.9618, allocations: 3.656 kB / 1.267 GB, free: 4.531 MB / 0.9981 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.0001255/0.9619, allocations: 102.4 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.9621, allocations: 40.08 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9622, allocations: 0 / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.9622, allocations: 24.03 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.9625, allocations: 9.016 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.9628, allocations: 147.6 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.076e-05/0.9629, allocations: 0.6765 MB / 1.268 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.9629, allocations: 8.875 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.9629, allocations: 0 / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of Templates: time 0.001998/0.9649, allocations: 0.5335 MB / 1.268 GB, free: 3.535 MB / 0.9981 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=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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.527271850034595]