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.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.001477/0.001477, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001763/0.001763, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.944/1.944, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 4.068e-06/4.068e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.521e-05/4.927e-05, allocations: 8.922 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00187/0.00192, allocations: 0.684 MB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002981, allocations: 0.8748 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.00302, allocations: 1.562 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.003055, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.048e-05/0.003146, allocations: 7.875 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.003397, allocations: 8 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.003492, allocations: 25.42 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.003642, allocations: 4 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.003751, allocations: 11.98 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.0038, allocations: 16.69 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003819, allocations: 0 / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.003881, allocations: 12.88 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003905, allocations: 4 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.003934, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004087, allocations: 22.31 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.004091, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.004093, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.0041, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 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.0004695/0.00457, allocations: 356.6 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.004628, allocations: 8.031 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.004767, allocations: 14.77 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.004873, allocations: 120.5 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.004888, allocations: 4.375 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.004901, allocations: 384 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.005068, allocations: 50.95 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.005079, allocations: 0.6875 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005092, allocations: 0.9062 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.005102, allocations: 384 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.005144, allocations: 17.58 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.005517, allocations: 247.8 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.005583, allocations: 31.06 kB / 0.7896 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.005607, allocations: 12.34 kB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.005635, allocations: 0 / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.00566, allocations: 33.89 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.005661, allocations: 0.875 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.005833, allocations: 53.52 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.005869, allocations: 56.56 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.005962, allocations: 153.9 kB / 0.7899 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005974, allocations: 25.7 kB / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.006051, allocations: 136.2 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.006076, allocations: 7.953 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.006106, allocations: 15.38 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.006242, allocations: 0.4901 MB / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.006263, allocations: 0 / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.006274, allocations: 0 / 0.7906 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.006309, allocations: 15.67 kB / 0.7906 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.006312, allocations: 5.094 kB / 0.7906 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.665e-05/0.006379, allocations: 41.64 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.006396, allocations: 6.875 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.006403, allocations: 3.938 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.006431, allocations: 0 / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.006528, allocations: 7.984 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.006535, allocations: 0 / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.006556, allocations: 7.938 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006563, allocations: 0 / 0.7907 GB, free: 8.66 MB / 0.7448 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.909e-05/0.006642, allocations: 157.1 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.006659, allocations: 1.938 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.006774, allocations: 56.81 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006775, allocations: 0 / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.00678, allocations: 0 / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006784, allocations: 0 / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.006894, allocations: 123.2 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.006898, allocations: 4 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.006934, allocations: 4 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.006938, allocations: 4 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.006945, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.465e-06/0.006953, allocations: 7.922 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006954, allocations: 0 / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.007082, allocations: 180.7 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.007089, allocations: 4.844 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.007104, allocations: 0 / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.00714, allocations: 11.92 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.007186, allocations: 0.8438 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007191, allocations: 0 / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.007242, allocations: 132.4 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007242, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001535/0.007396, allocations: 8 kB / 0.7913 GB, free: 7.914 MB / 0.7448 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.0001337/0.00753, allocations: 92.09 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.007632, allocations: 16.84 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007635, allocations: 0 / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.007653, allocations: 13.06 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.00788, allocations: 7.984 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.008487, allocations: 127.7 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.008533, allocations: 55.36 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.008552, allocations: 1.125 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.00859, allocations: 8.5 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.00859, allocations: 5.031 kB / 0.7916 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.002884/0.01147, allocations: 491.6 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] 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","",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.7641977444291115]