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.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.0008479/0.0008479, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001913, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007045/0.0007045, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009109/0.001615, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.953/0.953, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.059, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.406/2.406, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2709/2.677, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_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 2.575e-06/2.575e-06, allocations: 0 / 0.8184 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.427e-05, allocations: 6.25 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001965/0.001989, allocations: 0.732 MB / 0.8191 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002992, allocations: 0.8664 MB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.003021, allocations: 0 / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.003048, allocations: 3.938 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.003084, allocations: 0 / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.427e-05/0.003178, allocations: 23.91 kB / 0.82 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.003248, allocations: 27.86 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.003335, allocations: 4 kB / 0.82 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.003455, allocations: 23.92 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.003502, allocations: 3.984 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.003521, allocations: 4 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.003594, allocations: 4 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.00361, allocations: 7.938 kB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.003628, allocations: 4 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.003747, allocations: 15.98 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.937e-05/0.003767, allocations: 4 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.844e-06/0.003769, allocations: 0 / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.003789, allocations: 0 / 0.82 GB, free: 1.113 MB / 0.7917 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.0004893/0.004278, allocations: 240.5 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.004329, allocations: 12.62 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.004513, allocations: 82.05 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004629, allocations: 113.7 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.004643, allocations: 384 / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.004652, allocations: 4.375 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004777, allocations: 50.89 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.004786, allocations: 8.188 kB / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004793, allocations: 384 / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004799, allocations: 384 / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.004828, allocations: 7.938 kB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.005064, allocations: 148.3 kB / 0.8207 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.005112, allocations: 18.58 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.005128, allocations: 4.906 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.005152, allocations: 7.922 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005175, allocations: 34.62 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.005177, allocations: 0 / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.005299, allocations: 41.69 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.005334, allocations: 55.34 kB / 0.8208 GB, free: 172 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.005395, allocations: 102.7 kB / 0.8209 GB, free: 56 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005407, allocations: 29.7 kB / 0.821 GB, free: 20 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.005461, allocations: 88.12 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.005479, allocations: 7.891 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.005508, allocations: 13.72 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.005599, allocations: 314.8 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.005608, allocations: 0 / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.005619, allocations: 11.94 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.005643, allocations: 13.05 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005646, allocations: 0 / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.824e-05/0.005704, allocations: 37.69 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.005719, allocations: 4 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.005724, allocations: 0 / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.005736, allocations: 0 / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.00582, allocations: 7.938 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.005823, allocations: 4 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.005844, allocations: 3.984 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.005849, allocations: 11.97 kB / 0.8215 GB, free: 15.48 MB / 0.8073 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 6.042e-05/0.005909, allocations: 117.8 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.005927, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.006002, allocations: 41 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006004, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006007, allocations: 3.938 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00601, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.006132, allocations: 65.89 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006134, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.006181, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.006194, allocations: 15.98 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006196, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.0062, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.006204, allocations: 3.984 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.006207, allocations: 3.938 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.661e-05/0.006304, allocations: 131.5 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.006313, allocations: 0 / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.006369, allocations: 3.984 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.006404, allocations: 4 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006407, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.566e-05/0.006423, allocations: 16.83 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006423, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001615/0.006584, allocations: 4 kB / 0.8219 GB, free: 15.03 MB / 0.8073 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.0001357/0.00672, allocations: 80.41 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.394e-05/0.006794, allocations: 12.8 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.006799, allocations: 4 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.006816, allocations: 12.84 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.007025, allocations: 10.36 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.007777, allocations: 116.7 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.007814, allocations: 55.36 kB / 0.8221 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.007836, allocations: 3.984 kB / 0.8221 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.007879, allocations: 51.38 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.007879, allocations: 3.938 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.002328/0.01021, allocations: 468.4 kB / 0.8226 GB, free: 14.17 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.21467955224216]