Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001369/0.001369, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001436/0.001436, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9738/0.9758, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002037/0.9779, allocations: 0.6682 MB / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.979, allocations: 0.8156 MB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.979, allocations: 0 / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.979, allocations: 0 / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.9791, allocations: 3.938 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.9792, allocations: 7.984 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.9793, allocations: 27.92 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.9794, allocations: 4 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.9795, allocations: 19.91 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.9795, allocations: 8 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.9795, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.9795, allocations: 4 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.9796, allocations: 11.92 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.9796, allocations: 8 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.9797, allocations: 22.58 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9797, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9797, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9797, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 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.0005279/0.9802, allocations: 335.5 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9802, allocations: 12.03 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.9803, allocations: 8.891 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.9804, allocations: 168.4 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.9805, allocations: 4.375 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.9805, allocations: 8.312 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.9807, allocations: 50.17 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9807, allocations: 192 / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.9807, allocations: 7.938 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.9807, allocations: 0 / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.9809, allocations: 35.97 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.9813, allocations: 248.9 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.9815, allocations: 46.42 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.9816, allocations: 16.91 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.9816, allocations: 0 / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.9816, allocations: 34.56 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.9816, allocations: 4 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003593/0.982, allocations: 77.64 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.982, allocations: 51.41 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.9821, allocations: 105.8 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.9821, allocations: 33.77 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.9822, allocations: 88.03 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.9822, allocations: 3.953 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.9822, allocations: 17.72 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002711/0.9825, allocations: 314.8 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.9826, allocations: 15.98 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.9827, allocations: 15.98 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.9828, allocations: 40.89 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9828, allocations: 4 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.983, allocations: 65.59 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9831, allocations: 8 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.9831, allocations: 0 / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.9831, allocations: 4.031 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.9832, allocations: 11.92 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.9832, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.9832, allocations: 11.98 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.9832, allocations: 4 kB / 1.277 GB, free: 0.7578 MB / 0.9669 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.979e-05/0.9833, allocations: 109.8 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.9833, allocations: 0 / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.9836, allocations: 76.78 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.9836, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9836, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9836, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.9838, allocations: 161.6 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9838, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.9838, allocations: 11.98 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9838, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.9838, allocations: 11.81 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9838, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9838, allocations: 4.031 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.9841, allocations: 167.4 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.9841, allocations: 77.3 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.9842, allocations: 4 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.9842, allocations: 7.969 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.9843, allocations: 8.031 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9843, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.9844, allocations: 79.28 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9844, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002211/0.9846, allocations: 8 kB / 1.278 GB, free: 15.95 MB / 0.9825 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.0001417/0.9847, allocations: 99.77 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.9849, allocations: 43.91 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9849, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.985, allocations: 11.98 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.9853, allocations: 17.64 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.9857, allocations: 126 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.986, allocations: 0.6729 MB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.9861, allocations: 4.125 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.9861, allocations: 11.44 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9861, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.002838/0.9889, allocations: 441.5 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.089715966023505]