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.001699/0.001699, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001971/0.001971, allocations: 193 kB / 22.17 MB, free: 5.656 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.437/1.437, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.748/2.748, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002006/0.002006, allocations: 63.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.881, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002159/0.8832, allocations: 0.6604 MB / 1.275 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.8843, allocations: 0.8195 MB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.8844, allocations: 0 / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.8844, allocations: 4 kB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.8845, allocations: 3.938 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.8846, allocations: 7.984 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.8847, allocations: 23.92 kB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.8848, allocations: 11.94 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.8848, allocations: 11.98 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.8849, allocations: 7.938 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.8849, allocations: 4 kB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.8849, allocations: 4 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.8849, allocations: 7.984 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.885, allocations: 11.92 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.8851, allocations: 26.58 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8851, allocations: 3.938 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8851, allocations: 0 / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.8851, allocations: 0 / 1.276 GB, free: 2.914 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.0005372/0.8856, allocations: 335.5 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8857, allocations: 16.03 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.8857, allocations: 4.891 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.8859, allocations: 164.4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.8859, allocations: 384 / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.8859, allocations: 4.375 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.8861, allocations: 50.23 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8861, allocations: 192 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8861, allocations: 3.938 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8861, allocations: 0 / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.8863, allocations: 39.95 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.8867, allocations: 240.9 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.8868, allocations: 42.53 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.8869, allocations: 24.91 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.887, allocations: 4 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.887, allocations: 30.56 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.887, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.8874, allocations: 85.58 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.8874, allocations: 51.41 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.8875, allocations: 105.9 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8875, allocations: 29.7 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.8876, allocations: 92.03 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.8876, allocations: 3.953 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.8877, allocations: 13.72 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8878, allocations: 314.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.8879, allocations: 15.97 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.888, allocations: 23.98 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.8881, allocations: 32.83 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8881, allocations: 0 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002184/0.8883, allocations: 73.53 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.8884, allocations: 4 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8884, allocations: 8.031 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8884, allocations: 8 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.8885, allocations: 7.984 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8885, allocations: 0 / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.8886, allocations: 7.984 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.8886, allocations: 3.984 kB / 1.277 GB, free: 0.8828 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.88e-05/0.8887, allocations: 117.8 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.8887, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.8889, allocations: 72.72 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8889, allocations: 4 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8889, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8889, allocations: 0 / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.8891, allocations: 161.6 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8891, allocations: 0 / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.8892, allocations: 4 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8892, allocations: 4 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.8892, allocations: 4.031 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8892, allocations: 3.984 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8892, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.8895, allocations: 167.4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.8896, allocations: 81.23 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.8896, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.8897, allocations: 8.031 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.8897, allocations: 11.97 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.8897, allocations: 3.938 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.8898, allocations: 83.28 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8898, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002146/0.89, allocations: 4 kB / 1.278 GB, free: 72 kB / 0.9669 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.0001738/0.8902, allocations: 95.78 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.8904, allocations: 39.95 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8904, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.8905, allocations: 19.98 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.8908, allocations: 7.938 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.8911, allocations: 133.9 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.8915, allocations: 0.6808 MB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.8915, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.8915, allocations: 7.438 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8915, allocations: 4 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.002871/0.8944, allocations: 446.4 kB / 1.28 GB, free: 14.6 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 gbode -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: 8.599537906702608]