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.001768/0.001768, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002125/0.002125, allocations: 204 kB / 20.09 MB, free: 2.977 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.954/2.954, allocations: 0.49 GB / 0.7923 GB, free: 1.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.94 kB / 1.15 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9569, allocations: 176.1 MB / 1.322 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001835/0.9587, allocations: 0.6674 MB / 1.323 GB, free: 7.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.9597, allocations: 0.8539 MB / 1.323 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.9598, allocations: 0 / 1.323 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.9598, allocations: 3.938 kB / 1.324 GB, free: 6.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.9598, allocations: 6 kB / 1.324 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.96, allocations: 14.7 kB / 1.324 GB, free: 6.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.96, allocations: 29.05 kB / 1.324 GB, free: 6.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.9601, allocations: 6.906 kB / 1.324 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.9602, allocations: 2.562 kB / 1.324 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.9602, allocations: 23.81 kB / 1.324 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.9602, allocations: 2.656 kB / 1.324 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.9602, allocations: 4 kB / 1.324 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.9603, allocations: 4 kB / 1.324 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.9603, allocations: 14.45 kB / 1.324 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.036e-05/0.9604, allocations: 25.94 kB / 1.324 GB, free: 6.605 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9604, allocations: 1.031 kB / 1.324 GB, free: 6.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9604, allocations: 0 / 1.324 GB, free: 6.605 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9604, allocations: 0 / 1.324 GB, free: 6.605 MB / 1.014 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.0004251/0.9608, allocations: 344.2 kB / 1.324 GB, free: 6.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.9608, allocations: 13.64 kB / 1.324 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.9609, allocations: 2.094 kB / 1.324 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.961, allocations: 174.5 kB / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.961, allocations: 384 / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.9611, allocations: 2.625 kB / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.9612, allocations: 53.55 kB / 1.324 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.9612, allocations: 192 / 1.324 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.9612, allocations: 3.938 kB / 1.324 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.9612, allocations: 5.344 kB / 1.324 GB, free: 5.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.9614, allocations: 29.34 kB / 1.324 GB, free: 5.957 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.9617, allocations: 248.8 kB / 1.324 GB, free: 5.672 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.9619, allocations: 42.91 kB / 1.325 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.962, allocations: 26.81 kB / 1.325 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.962, allocations: 0 / 1.325 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.962, allocations: 31.84 kB / 1.325 GB, free: 5.574 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.962, allocations: 0 / 1.325 GB, free: 5.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.9623, allocations: 84.73 kB / 1.325 GB, free: 5.516 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.9624, allocations: 56.66 kB / 1.325 GB, free: 5.449 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.9625, allocations: 98.5 kB / 1.325 GB, free: 5.348 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.9625, allocations: 29.7 kB / 1.325 GB, free: 5.312 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.9625, allocations: 81.14 kB / 1.325 GB, free: 5.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.9625, allocations: 4.984 kB / 1.325 GB, free: 5.227 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.9626, allocations: 11.94 kB / 1.325 GB, free: 5.211 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9627, allocations: 320 kB / 1.325 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.9628, allocations: 12.8 kB / 1.325 GB, free: 4.887 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.9629, allocations: 22.33 kB / 1.325 GB, free: 4.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.963, allocations: 38.75 kB / 1.325 GB, free: 4.852 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.963, allocations: 1.281 kB / 1.325 GB, free: 4.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002204/0.9633, allocations: 68.42 kB / 1.325 GB, free: 4.801 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9633, allocations: 12.56 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9633, allocations: 3.984 kB / 1.325 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.9633, allocations: 1.281 kB / 1.325 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.9634, allocations: 13.27 kB / 1.325 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.9634, allocations: 1.688 kB / 1.325 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.9634, allocations: 7.109 kB / 1.325 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.9634, allocations: 1.375 kB / 1.325 GB, free: 4.777 MB / 1.014 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 8.456e-05/0.9635, allocations: 114.9 kB / 1.326 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.9635, allocations: 9.578 kB / 1.326 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.9638, allocations: 65.97 kB / 1.326 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9638, allocations: 0 / 1.326 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9638, allocations: 1.219 kB / 1.326 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.9638, allocations: 3.938 kB / 1.326 GB, free: 4.594 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.964, allocations: 166.9 kB / 1.326 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.964, allocations: 0 / 1.326 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.964, allocations: 10.3 kB / 1.326 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.964, allocations: 4.031 kB / 1.326 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.964, allocations: 4 kB / 1.326 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.964, allocations: 5.625 kB / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.964, allocations: 0 / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.9643, allocations: 158.5 kB / 1.326 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.9644, allocations: 78.27 kB / 1.326 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.9644, allocations: 4.656 kB / 1.326 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.9645, allocations: 8.641 kB / 1.326 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.9645, allocations: 4 kB / 1.326 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.9645, allocations: 1.562 kB / 1.326 GB, free: 4.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.9646, allocations: 78.5 kB / 1.326 GB, free: 4.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.9646, allocations: 0 / 1.326 GB, free: 4.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002123/0.9648, allocations: 3.75 kB / 1.326 GB, free: 4.043 MB / 1.014 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.0001304/0.9649, allocations: 113.9 kB / 1.326 GB, free: 3.938 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.9651, allocations: 32.47 kB / 1.326 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9651, allocations: 0 / 1.326 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.9652, allocations: 18.7 kB / 1.326 GB, free: 3.918 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.9655, allocations: 10.64 kB / 1.326 GB, free: 3.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.9657, allocations: 131 kB / 1.326 GB, free: 3.773 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.966, allocations: 0.6778 MB / 1.327 GB, free: 3.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.9661, allocations: 16.53 kB / 1.327 GB, free: 3.059 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.9661, allocations: 0 / 1.327 GB, free: 3.059 MB / 1.014 GB Notification: Performance of Templates: time 0.001885/0.968, allocations: 0.5504 MB / 1.328 GB, free: 2.785 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.277441122001619]