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.001867/0.001867, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002288/0.002288, allocations: 211.5 kB / 22.99 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.002181/0.002181, allocations: 79.75 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3543, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001861/0.3562, allocations: 0.6609 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3573, allocations: 0.8514 MB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.3573, allocations: 0 / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3573, allocations: 3.938 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.3574, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3575, allocations: 23.91 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.3576, allocations: 19.94 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.3577, allocations: 7.984 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.3578, allocations: 11.94 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.3578, allocations: 11.98 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3578, allocations: 0 / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.3578, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3579, allocations: 7.938 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.3579, allocations: 4 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.358, allocations: 39.81 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.358, allocations: 0 / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.358, allocations: 0 / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.358, allocations: 0 / 1.328 GB, free: 132 kB / 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.0004613/0.3584, allocations: 262.3 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3585, allocations: 15.97 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.3586, allocations: 4.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3587, allocations: 106.5 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3587, allocations: 384 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3587, allocations: 8.359 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3589, allocations: 54.17 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3589, allocations: 192 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3589, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3589, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.3591, allocations: 35.95 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.3594, allocations: 196.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3595, allocations: 38.59 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.3596, allocations: 20.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3596, allocations: 7.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3596, allocations: 34.56 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3596, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.36, allocations: 77.64 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.36, allocations: 59.34 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.3601, allocations: 97.86 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3601, allocations: 25.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.3602, allocations: 88.12 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3602, allocations: 7.953 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.3602, allocations: 9.719 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3603, allocations: 314.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.3604, allocations: 24.11 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.3605, allocations: 15.97 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3606, allocations: 40.83 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3606, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.3609, allocations: 73.66 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3609, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3609, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3609, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.361, allocations: 11.98 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.361, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.361, allocations: 4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.361, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 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 7.671e-05/0.3611, allocations: 110.4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3611, allocations: 15.92 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3614, allocations: 68.97 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3614, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3614, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3614, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.3615, allocations: 109.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3615, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.3616, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3616, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3616, allocations: 8.016 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3616, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3616, allocations: 3.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3618, allocations: 159.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.3618, allocations: 3.938 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3618, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.3619, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3619, allocations: 12.11 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3619, allocations: 4.031 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.362, allocations: 83.27 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.362, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002211/0.3622, allocations: 8 kB / 1.33 GB, free: 13.68 MB / 1.029 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.0001206/0.3623, allocations: 91.25 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3625, allocations: 39.89 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3625, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.3626, allocations: 16.05 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3629, allocations: 9.719 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.3632, allocations: 136 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.3633, allocations: 59.34 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3633, allocations: 7.438 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3633, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Templates: time 0.001985/0.3653, allocations: 0.5528 MB / 1.331 GB, free: 12.7 MB / 1.029 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=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: 10.975422045215964]