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.00153/0.00153, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001387/0.001387, allocations: 169.3 kB / 24.28 MB, free: 284 kB / 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 0.9998/0.9998, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.812/1.812, allocations: 359 MB / 0.6055 GB, free: 11 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 2.505e-06/2.505e-06, allocations: 0 / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.339e-05, allocations: 9.688 kB / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001497/0.00153, allocations: 0.6737 MB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.002419, allocations: 0.8683 MB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.002464, allocations: 0 / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.002504, allocations: 3.938 kB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.002579, allocations: 5.062 kB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.002788, allocations: 15.92 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.002865, allocations: 28.92 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.002956, allocations: 0 / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.003031, allocations: 15.97 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.003066, allocations: 8.562 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.003082, allocations: 0 / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.003129, allocations: 12.62 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.003145, allocations: 8.828 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.003165, allocations: 4 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.003265, allocations: 15.98 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003267, allocations: 0.6562 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003268, allocations: 0 / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003272, allocations: 1.125 kB / 0.7888 GB, free: 11.09 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.0006674/0.00394, allocations: 360.6 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.003979, allocations: 9.625 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.004092, allocations: 8.891 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004195, allocations: 116.6 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004207, allocations: 384 / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.004216, allocations: 4.312 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004339, allocations: 54.42 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004347, allocations: 192 / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004356, allocations: 384 / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004364, allocations: 384 / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.871e-05/0.004403, allocations: 11.92 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.004687, allocations: 247.8 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.00474, allocations: 31 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.004763, allocations: 19.78 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.004779, allocations: 0.7188 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.0048, allocations: 33.39 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.004803, allocations: 5.641 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.004951, allocations: 45.59 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.004981, allocations: 51.41 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.005058, allocations: 166.4 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.005068, allocations: 25.7 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.005114, allocations: 131.7 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.005132, allocations: 7.953 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.005164, allocations: 16.31 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.005293, allocations: 0.4884 MB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.005308, allocations: 1 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.005321, allocations: 8 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.005364, allocations: 17.03 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005365, allocations: 0 / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.377e-05/0.005429, allocations: 33.7 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.005446, allocations: 8.859 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.005451, allocations: 3.938 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.005464, allocations: 5 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.005539, allocations: 4 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.005543, allocations: 4 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.005563, allocations: 8.938 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005568, allocations: 0 / 0.7906 GB, free: 8.988 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.54e-05/0.005643, allocations: 162.2 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.005658, allocations: 0 / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/0.005753, allocations: 48.94 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.005755, allocations: 0.5312 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.005759, allocations: 0 / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005762, allocations: 0.6875 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.00586, allocations: 116.6 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005861, allocations: 0.5312 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.005894, allocations: 12.7 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005896, allocations: 0 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.005902, allocations: 8.844 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.005904, allocations: 3.938 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.005906, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.006005, allocations: 185.9 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006012, allocations: 4 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.006022, allocations: 0 / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.006056, allocations: 7.938 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.006091, allocations: 5.203 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006094, allocations: 0 / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.00613, allocations: 123.2 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00613, allocations: 0.8125 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001472/0.006277, allocations: 4 kB / 0.7913 GB, free: 8.254 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.0001109/0.006388, allocations: 96.19 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.193e-05/0.00647, allocations: 24.83 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006471, allocations: 0 / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.006489, allocations: 12.53 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.006684, allocations: 6.031 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.007139, allocations: 128.5 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.007176, allocations: 55.34 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.007194, allocations: 3.031 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.00723, allocations: 12.5 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.007231, allocations: 3.938 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.002395/0.009626, allocations: 483.4 kB / 0.7921 GB, free: 7.41 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.301325103035197]