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.001188/0.001188, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002914, allocations: 440 kB / 10.41 MB, free: 284 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.001232/0.001232, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.00283, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9942/0.9942, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08568/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.657/2.657, allocations: 447.1 MB / 0.675 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2877/2.945, allocations: 146 MB / 0.8176 GB, free: 3.867 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.134e-06/2.134e-06, allocations: 0 / 0.819 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.874e-05, allocations: 5.266 kB / 0.819 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001833/0.001862, allocations: 0.7225 MB / 0.8197 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.00262, allocations: 0.8625 MB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.002648, allocations: 4 kB / 0.8206 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.002672, allocations: 4 kB / 0.8206 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.002711, allocations: 7.875 kB / 0.8206 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.373e-05/0.002805, allocations: 15.92 kB / 0.8206 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.002881, allocations: 23.92 kB / 0.8206 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.002971, allocations: 4 kB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.003062, allocations: 23.91 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.003104, allocations: 4 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.00312, allocations: 4 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.003184, allocations: 7.984 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.003199, allocations: 0 / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.003215, allocations: 15.94 kB / 0.8207 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003316, allocations: 15.94 kB / 0.8207 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.00333, allocations: 3.984 kB / 0.8207 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003331, allocations: 0 / 0.8207 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.003344, allocations: 0 / 0.8207 GB, free: 0.7305 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.0004087/0.003752, allocations: 240.6 kB / 0.8209 GB, free: 480 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.003792, allocations: 8.031 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.003951, allocations: 82.05 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.004057, allocations: 113.7 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004068, allocations: 384 / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004081, allocations: 4.375 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004207, allocations: 50.95 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004214, allocations: 192 / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.004223, allocations: 384 / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.004228, allocations: 4.375 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.004253, allocations: 11.86 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.004511, allocations: 144.3 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.004563, allocations: 22.58 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.004575, allocations: 4.859 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.004593, allocations: 7.969 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.004616, allocations: 38.62 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004616, allocations: 0 / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001131/0.00473, allocations: 37.64 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.004766, allocations: 59.34 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.004886, allocations: 106.7 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.004896, allocations: 25.7 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.004926, allocations: 84.14 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.004944, allocations: 7.891 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.004968, allocations: 13.7 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.00504, allocations: 318.8 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.005052, allocations: 8.125 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-06/0.00506, allocations: 4 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.005089, allocations: 12.8 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005091, allocations: 0 / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.947e-05/0.00514, allocations: 37.69 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005152, allocations: 4 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005156, allocations: 0 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.005167, allocations: 0 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.005245, allocations: 11.94 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005248, allocations: 96 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.005264, allocations: 11.98 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.005268, allocations: 0 / 0.8221 GB, free: 15.11 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 4.9e-05/0.005317, allocations: 109.8 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.005328, allocations: 0 / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.005402, allocations: 40.94 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005404, allocations: 4 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005406, allocations: 3.938 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005408, allocations: 0 / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.694e-05/0.005485, allocations: 73.88 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005486, allocations: 4.031 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.005511, allocations: 4 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.005519, allocations: 7.953 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.00552, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.005524, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.005526, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005528, allocations: 7.875 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.005595, allocations: 131.5 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.005603, allocations: 4 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.005632, allocations: 3.984 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.005663, allocations: 8.031 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005666, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.179e-05/0.005677, allocations: 8.797 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005678, allocations: 4 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000117/0.005795, allocations: 4 kB / 0.8225 GB, free: 14.64 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 8.987e-05/0.005884, allocations: 80.41 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.00595, allocations: 12.86 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.005955, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.005976, allocations: 12.95 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.006135, allocations: 33.69 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.006711, allocations: 124.6 kB / 0.8227 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.006747, allocations: 59.34 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.006765, allocations: 0 / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.006815, allocations: 51.38 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.006816, allocations: 96 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.002352/0.009168, allocations: 481.4 kB / 0.8233 GB, free: 13.73 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.524403332732618]