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.0009947/0.0009947, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001107/0.001107, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.022/1.022, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.492/2.492, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 3.827e-06/3.827e-06, allocations: 0 / 0.8898 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.451e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002952/0.002986, allocations: 0.6861 MB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004325, allocations: 0.8665 MB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.004374, allocations: 0 / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.004405, allocations: 0 / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.004493, allocations: 11.88 kB / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.004723, allocations: 15.92 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.004801, allocations: 23.92 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004904, allocations: 7.984 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.005002, allocations: 11.98 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.005051, allocations: 11.94 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005069, allocations: 0 / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.005131, allocations: 8 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.00515, allocations: 3.984 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.00517, allocations: 4 kB / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.00529, allocations: 23.97 kB / 0.8914 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.005295, allocations: 3.938 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005296, allocations: 0 / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.005302, allocations: 3.938 kB / 0.8915 GB, free: 7.961 MB / 0.8542 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.0004228/0.005725, allocations: 364.6 kB / 0.8918 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.005777, allocations: 8.625 kB / 0.8918 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.005907, allocations: 8.891 kB / 0.8918 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.006009, allocations: 108.6 kB / 0.8919 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.006023, allocations: 384 / 0.8919 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.006033, allocations: 4.359 kB / 0.8919 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.006177, allocations: 58.95 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006185, allocations: 192 / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.006193, allocations: 384 / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.006201, allocations: 384 / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.006236, allocations: 15.86 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.006563, allocations: 228.4 kB / 0.8922 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.006622, allocations: 27.06 kB / 0.8922 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.006641, allocations: 7.688 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.006668, allocations: 8.094 kB / 0.8923 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.006697, allocations: 41.39 kB / 0.8923 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.006699, allocations: 0 / 0.8923 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.006877, allocations: 41.58 kB / 0.8923 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.00691, allocations: 51.41 kB / 0.8924 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.007004, allocations: 165.9 kB / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007017, allocations: 25.7 kB / 0.8926 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.007072, allocations: 130.8 kB / 0.8927 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.007094, allocations: 3.938 kB / 0.8927 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.007142, allocations: 23.38 kB / 0.8927 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004426/0.007584, allocations: 496.1 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.007598, allocations: 4.125 kB / 0.8932 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.007608, allocations: 4 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.007647, allocations: 15.67 kB / 0.8932 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007649, allocations: 3.938 kB / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.694e-05/0.007736, allocations: 37.66 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.007758, allocations: 4 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007764, allocations: 0 / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.007782, allocations: 7.938 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.007874, allocations: 7.984 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007877, allocations: 4.031 kB / 0.8933 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.007912, allocations: 8 kB / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.00792, allocations: 4 kB / 0.8933 GB, free: 5.879 MB / 0.8542 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.2e-05/0.008002, allocations: 152.6 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.00803, allocations: 0 / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.009232, allocations: 48.94 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.009239, allocations: 3.938 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009242, allocations: 0 / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.009248, allocations: 3.984 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.009421, allocations: 93.27 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.009427, allocations: 8.031 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.009509, allocations: 8 kB / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.009513, allocations: 0 / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.009522, allocations: 3.984 kB / 0.8936 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.009525, allocations: 0 / 0.8936 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.009528, allocations: 0 / 0.8936 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.009711, allocations: 191.8 kB / 0.8938 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.009725, allocations: 3.953 kB / 0.8938 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.009737, allocations: 192 / 0.8938 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.009832, allocations: 7.984 kB / 0.8938 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.009876, allocations: 8.016 kB / 0.8938 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.009884, allocations: 3.938 kB / 0.8938 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.009947, allocations: 127.2 kB / 0.8939 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009947, allocations: 0 / 0.8939 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000548/0.0105, allocations: 4 kB / 0.8939 GB, free: 5.16 MB / 0.8542 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.0001363/0.01063, allocations: 91.25 kB / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.01071, allocations: 15.69 kB / 0.894 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.01071, allocations: 8 kB / 0.894 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.01074, allocations: 15.73 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.01092, allocations: 11.92 kB / 0.8941 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.0113, allocations: 114.5 kB / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.01133, allocations: 55.3 kB / 0.8942 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.01135, allocations: 4 kB / 0.8942 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.0114, allocations: 70.19 kB / 0.8943 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.0114, allocations: 64 / 0.8943 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of Templates: time 0.001987/0.01339, allocations: 0.5084 MB / 0.8948 GB, free: 4.211 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.54301030235365]